Post by Rooster333 » Mon Sep 13, 2010 5:35 am

Hello 8)

it is very simple , it do like what payPayl Stander do , here are the "Parameters" that in use ,

=========================================================================================
Implementation
Description of the Parameters:
Standard Integration
Interaction between the Merchant and cashU server is based on secure HTTP POST and
requires the following parameters:
Parameter:Name Description
merchant_id :

The Merchant ID as entered during registration.Must be between 1 and 20 characters long with
characters in [A-Za-z_\.\-@0-9]


amount :

Number identifying the value of the payment
transaction.
Must be presented in maximum 2 decimal points.
currency Currency in which the service/item is being sold on
the Merchant’s website. The accepted values are:
USD (American Dollar)


language

String identifying the interface language of the
payment page.
Supported values are: “en” for the English
interface and “ar” for the Arabic interface and “ir”
for Farsi interface.


display_text


English or Arabic description of the transaction,
this will be used to display for the customer on
the payment page.
Maximum allowed length is 250 characters.
llowed characters in [A-Za-z_\.\-@\’\”0-9] and
Arabic characters.



txt1


English description of the transaction that will not
be displayed for the customer.
? Maximum allowed length is 150 characters.
? Allowed characters are in [A-Za-z_\.\-0-9]



token


Must be a hex-encoded MD5 HASH (32 digit
hexadecimal number) of a concatenation of the
following parameter values separated by”:” (values
should be in lower case), appended with the
Encryption Keyword. The Encryption Keyword is
selected by Merchant (please read step 1 for more
details.)
The example below shows how to create the hash.
The used values are fictitious.
First, values should be converted to lower case:
Parameter: merchant_id value: test
Parameter: amount value: 15.25
Parameter: currency value: aed
Then their values are contacted:
test:15.25:aed
The Encryption Key is appended to the end of the
string:
test:15.25:aed:Hello World
The MD5 function is called on the resulting string:
MD5(“test:15.25:aed:Hello World”)
The result of the function is the hash to be included in
the request. This must be presented in 32 digit
hexadecimal number.
Please read the appendix I for details on how to
create MD5 hash in some selected programming
languages.



test_mode


Number identifies if the transaction is done on live
or test modes.
? Accepted values are: “1” for the test mode and
“0” for the live mode.

===================================================================
Note : The above parameters should be posted to the following cashU URL:
https://www.cashu.com/cgi-bin/pcashu.cgi


Anything fast / small code will make no problem , I don't need the Additional stuff that the payment offer " it is called cashu by the way HTTP://cashu.com "

I don't need an interface /and or setting , I can edit the code from the source directly and post my details there , all I need is a radio button at the payment stage at the cart , that will do the job and sends the payment request in USD to payment . can Anyone do it pleas ? I printed the whole pp_standerd and google_checkout php , tlp files and tried to comber the codes to make a new one ... but no luck

If you need the document about the payment this is it :

Code: Select all

http://multfun.net/public-files/cashU_Technical_Integration_Guide_v_5.3.4.pdf

New member

Posts

Joined
Sat Sep 11, 2010 6:15 pm

Post by Miguelito » Mon Sep 13, 2010 6:38 pm

Hi,

Q has already done a module for this and can be found from http://theqdomain.com/ocstore/cashu

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm

Post by Rooster333 » Mon Sep 13, 2010 7:42 pm

Ya , I know about Q , but I need to know how to add a new payment , there is other payments tybe that aren't
"famous" , so ..... I need to understand how-to and like I said in the first post I don't need an interface /and or setting , I can edit the code from the source directly and post my details there , and don't you think 45 $ is too much....

New member

Posts

Joined
Sat Sep 11, 2010 6:15 pm

Post by Miguelito » Mon Sep 13, 2010 9:05 pm

Well then you need to take a look at this http://forum.opencart.com/viewtopic.php?f=22&t=6696

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm
Who is online

Users browsing this forum: No registered users and 14 guests