Web Hosting Talk







View Full Version : 2checkout API in php


Niketa
06-02-2002, 10:39 AM
hello

http://www.2checkout.com/cart_specs.htm




Cart Payment Routine 2 Specifications (Authorize.net)
In addition the above routine, the following routine will ALSO accept in Autorize.net parameters.

https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c

In most cases just find in the shopping cart ( maybe in a code file ) the authorize.net payment url

https://secure.authorize.net/gateway/transact.dll

and change it to

https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c

Then just set everything else up as if you had an authorize.net account.

The parameters that should be passed into the ./Abuyers/purchase.2c routine are as follows:

x_login - 2Checkout.com Seller id
x_amount - Amount to bill.
x_invoice_num - Order number from your system

The payment routine will ask for the following buyers information if you do not send it in

x_First_Name
x_Last_Name
x_Phone
x_Email
x_Address
x_City
x_State
x_Zip
x_Country
x_Exp_Date
x_Card_Num - You must have an SSL server to send the credit card # in. If you do not, a warning will be printed letting the buyer know that their credit card number was transmitted over and insecure channel.

Other Optional Parameters Accepted:

x_Ship_To_First_Name
x_Ship_To_Last_Name
x_Ship_To_Address
x_Ship_To_City
x_Ship_To_State
x_Ship_To_Zip
x_Ship_To_Country




2checkout support the (Autorize.net parameters)..

any one know a simple PHP script that can work with 2checkout API? and use the CVV..


Thank u