开发者

Sending shopping cart items to PayPal

开发者 https://www.devze.com 2023-02-05 04:22 出处:网络
I have a database table full of items that were selected to be purchased by a customer, and need to send them to PayPal as 开发者_如何学Pythonan order so they can pay for those items.

I have a database table full of items that were selected to be purchased by a customer, and need to send them to PayPal as 开发者_如何学Pythonan order so they can pay for those items.

My problem is that existing shopping cart solutions require you to either manually enter each existing product into their database online (which is pointless for me, since we have over 1000 products, and over 500 variations of each product), or they require you to have your database table setup a certain way, and I have tried that, with 4carts, including one that I paid a great deal amount of money for, but refuse to offer support for it, and it is abosultely useless.

So, my solution is to roll out my own payment page where i grab the order details (product name, qty, price and freight charges from the database, then send them to PayPal, and from there on, paypal handles the rest.

But I have no idea how I would even begin doing this, and I have studied the PayPal website, and it all seems so confusing and I just don't know where to begin. Are there any working samples floating around that you could please share with me?

I just need to be able to send what's in my database to paypal so the user can pay for those items.

Any help at all is greatly appreciated.

Thank you!


Follow the instructions for Implementing the Simplest Express Checkout Integration.

It is a little long but it explains exactly what you need to do, and isn't subject to the security hole Robert talks about in his comments.

Sending shopping cart items to PayPal

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号