PDA

View Full Version : PayPal toolkit


david331670
02-14-2010, 04:33 PM
I want to set up a PayPal shopping Cart website for a client.
They want to use "Add to cart" buttons.
How can I set up the shipping and handling charges for each item if no options appear on the set up wizard for shipping and freight like each product like displayed in "Buy Now" wizard.
Each item is different and the shipping/freight is unique to each item.

Jason Byrnes
02-16-2010, 10:50 AM
you have to add hidden form elements for the shipping. For individual items, you can pass the shipping and shipping2.

shipping is the cost to ship each individual item:
<input type="hidden" name="shipping" id="shipping" value="3">

shipping 2 is optional and is an incremental amount for each additional item:
<input type="hidden" name="shipping2" id="shipping2" value="1">

the above example would charge $4 shipping if 2 of the item are ordered.

handling is a charge that is applied to the entire cart:
<input type="hidden" name="handling" id="handling" value="3">

see the paypal reference for more details:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id 08A6HH0D0TA