Page 1 of 1

Payment Gateway

Posted: Tue Dec 05, 2006 9:23 am
by thiscatis
I have a custom build shopping cart system.
Now I want to add paypal to the payment gateways.
I can't use the paypal options (paypal shopping cart etc..) because I already have this.
Is there any way to make a gateway that sends the information of the shopping cart
(only total price) to a paypal payment page ?

Posted: Tue Dec 05, 2006 9:29 am
by Skittlewidth
Yes, and its all in the rather hefty PayPal user guide... give me a sec and I might even be able to remember what chapter its in!

Posted: Tue Dec 05, 2006 9:37 am
by Skittlewidth
Assuming you are registered on the developer.paypal.com site you have access to all the resources you need to find out how to do this.

I suggest you look at:
https://www.paypal.com/IntegrationCente ... ndard.html
which shows you how you pass information in a form through to paypal from your site with or without their "pay now" button.

That should at least give you an idea of how to acheive what you're after.

Oh, and you might want to read up on IPN if you want your site to perform any operations based on the success or failiure of the payment.

Posted: Tue Dec 05, 2006 10:59 am
by thiscatis
thanks mate!
It's working :)