john1506:
I am using asp.net for the first time with a simple store front and need some help on creating an interface to the PayPal. I want to use the “add to cart” function where I will pass one item at a time and the interface with PayPal will allow the shopper to add additional items one at a time. PayPal controls the shopping cart. My item information is dynamically selected from a database.
The simple interface will not work because it would require a form within a form and I don’t think PayPal will allow a query string for the “add to cart” (to allow for multiple items).
I have not found a solution that meets my needs and that I can understand. I am using vb code behind.
I would appreciate it if someone could point me in the right direction.
Thanks
You can do this yourself with ease. Just track the contents of the cart, assign a guid (or other unique id) to the cart, and store it on your database.
Send the user to paypal, including this unique key. Once they have paid, they get sent back, you can check if they paid, use the id that comes back with it to see what the user ordered and your done, no need for 3rd party shopping carts.
Also visit
my website.
Once your questions have been answered, remember to mark the question as answered, this rewards the people helping you and helps others to move on to the next unanswered question.