Web Hosting Talk







View Full Version : 2checkout payment intergration


phpcoder
06-28-2002, 08:02 PM
Hello, I am looking for a script that I can use with 2checkout.com. I have already searched these forums for scripts, but I just find talk about this type of script. If you could direct me in the direction of a script I would greatly appeciate this.

Thanks,
Alec

puggy106
06-28-2002, 08:03 PM
http://www.phpmanager.com - Not sure what you need but I think this is what you mean

FDrive
06-28-2002, 08:05 PM
Live up to your name and code one in PHP! :)

Really, 2checkout's passback parameters are very easy to use, if that's what your talking about. Just take a look at https://sellers.2checkout.com/cgi-bin/sellersarea/recpassback.2c for info.

phpcoder
06-28-2002, 08:12 PM
Originally posted by FDrive
Live up to your name and code one in PHP! :)

Really, 2checkout's passback parameters are very easy to use, if that's what your talking about. Just take a look at https://sellers.2checkout.com/cgi-bin/sellersarea/recpassback.2c for info.


Thanks, I am coding one, and thats why I posted here ;) My friend needs my to create something for him. I looked at the site but didn't see the variables. Now that I have a link I can ask him for his acount info so that I can get them :)


Thanks alot!

puggy106
06-28-2002, 08:13 PM
Good luck:) Let us all know when its done so we can have a look at some screenshots! Maybe even a demo!

Take care im off to bed, going insane!

The Prohacker
06-28-2002, 08:18 PM
Here ya go, so you can get to work without having the pass :D


Payment Routine: https://www.2checkout.com/cgi-bin/crbuyers/recpurchase.2c

The following parameters must be passed from your routine to recpurchase.2c.

sid - your 2Checkout.com account number
product_id - Product ID of the recurring product from the 2Checkout system to be billed.

Optional Parameters

merchant_order_id - order id from your system that you would like recorded and passed back.
demo - set to Y for testing or set the recurring routine to demo mode here.
DO NOT PASS DEMO IN OR LEAVE IT BLANK FOR LIVE PROCESSING.

Example:
https://www.2checkout.com/cgi-bin/crbuyers/recpurchase.2c?sid=124&product_id=1&merchant_order_id=test1&demo=Y

Hint: You can build the above string in your routine and then use the following directive (written in perl) to pass control to 2Checkout for payment.

print "Location: https://www.2checkout.com/cgi-bin/crbuyers/recpurchase.2c....... ";

The following parameters will be passed back to your routine. Optionally a confirmation email with your merchant order number and ours will be sent to you and the buyer when the credit card transaction is approved.

order_number - 2Checkout.com order number
merchant_order_id - Your order number passed back
product_id - 2Checkout.com Product ID #
card_holder_name - Card holders name
street_address - Card holders address
city- Card holders address
state - Card holders address
zip - Card holders address
country - Card holders address
email - Card holders email
phone- Card holders phone number
credit_card_processed - "Y" if successfull
total - Total billed to credit card.

phpcoder
06-28-2002, 08:37 PM
Thanks alot pal :)