Hey, I finished your tutorial on the PayPal IPN… And it all works great, but I want to submit to PayPal all of the items, their prices and quantities from my cart, not just the cart as a total… Hoping I'm making sense here…
I know to use this (and have done for a single cart checkout):
<input type="hidden" name="item_name" value="theitem" />
<input type="hidden" name="amount" value="theamount" />
<input type="hidden" name="quantity" value="thequantity" />
I thought maybe to use something like this:
<input type="hidden" name="item_name1" value="item1" />
<input type="hidden" name="item_name2" value="item2" />
etc. etc.
But I don't think this worked… Any help would be much appreciated.
Hi,
You need to use the form fields they suggest and honestly you need to know a lot about paypal payments :)
Do you have all products on a single page?
Hey,
Yeah I do have all of the products in a single page… I thought that my form could send out the email to the owner of the site with the order, but really it would be better if that all came from PayPal…
Where will I find their suggested forms? And… at this point I don't know a whole lot about PayPal payments - but I'm happy to spend some time digging in to it a little and learning.
Thanks for you help.
Hi,
maybe it will work to post all items with one form request. But what's next? what do you do with that response coming from Paypal. Your application doesn't look like to have a database for the orders. Maybe you can describe how you like to have the order process?
Check this information about passing multiple items to paypal.