Integration Guide

Table Of Contents
Multiple-Item Payment: Shopping Cart
Adding PayPal to Your Third-party Shopping Cart
4
84 November 2005 Website Payments Standard Checkout Integration Guide
NOTE: One drawback of this method is that your buyers will not see the individual items in
their carts. In addition, you cannot change our variable names, nor can you add your
own variable names.
The following HTML is identical to “HTML for Passing Individual Item Detail to PayPal” on
page 83 except the individual items’ amounts and item names have been aggregated into a
single item and amount.
EXAMPLE 4.2 HTML for Aggregate Cart Detail to PayPal
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”>
<input type=”hidden” name=”cmd” value=”_cart”>
<input type=”hidden” name=”upload” value=”1”>
<input type=”hidden” name=”business” value=”seller@designerfotos.com”>
<input type=”hidden” name=”item_name_1” value=”Aggregated items”>
<input type=”hidden” name=”amount_1” value=”3.00”>
<input type=”submit”” value=”PayPal”>
</form>