Currently,I can proceed transactions with my asp.net and paypal using sanbox testing. But how do I send item details to paypal and so the customer knows what he bought from my site in paypal?Paypal gives sample codes that are too static like item1 and item2 as a NVP in the codes.What if the customer adds more items,how does it send the value over and requests it? Help is much appreaciated
I have created the following solution for my website www.atlantisring.com where I made a shopping cart and store all the items in a database. When the customer is ready to order, i am sending the order number and the total for the order over to paypal and when the order is finished paypal will send me back the order number and I look it up in the database and set the order as paid with all the information. It dont know if this can work for you, but it is working for me.
you can send any number of items by <input type='hidden' name='item_x' value='itemname'> <input type='hidden name='amount_x' value='amount'> here x value is increment by one