Web Hosting Talk







View Full Version : 2checkout implementation


DomiNET.net
11-10-2001, 11:21 AM
I just signed for 2checkout service. Now i want to implement it. I have 4 differents Webhosting packages. Each of them can be with or without domain registration. Any of you can show me how you have 2checkout implemented in your bussines?

I want to make the people fill my form then their form. In my form ill save data on my database then go to 2checkout form.

any idea?

ASPCode.net
11-10-2001, 02:17 PM
Just done it so here is the basics:

1. Store the data your customer has entered in a MySQL database. Have a auto_increment field in that table and retrieve it - it should be sent as merchant_order_id to 2checkout.com

2. When payment is done a page on your site can be called - passback they call it. Here you will get some variables to play with ( stuff the yser entered while at 2checkout - such as name, address, email etc ). You will also be sent the merchant_order_id so you can retieve the data entered at step 1 from your own database table.

There are good documentation at 2checkout.com website, describing all parameters - as well as a link to a cgi-script which implements all this.