Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 353
HTML Variables for Website Payments Standard
HTML Variables for Shopping Carts
A
HTML Variables for Shopping Carts
HTML variables for shopping carts can be used with Add to Cart buttons, as well as with third
party shopping carts or custom carts that initiate payment processing with the Cart Upload
command.
TABLE A.5 HTML Variables for Shopping Carts
Name
Required
or
Optional Description
Character
Length
add See
description
Add an item to the PayPal Shopping Cart.
This variable must be set as follows:
add="1"
The alternative is the display="1" variable, which displays the
contents of the PayPal Shopping Cart to the buyer.
If both add and display are specified, display takes
precedence.
1
amount Required Price of the item or the total price of all items in the shopping
cart.
business Required Your PayPal ID or an email address associated with your PayPal
account. Email addresses must be confirmed.
display See
description.
Display the contents of the PayPal Shopping Cart to the buyer.
This variable must be set as follows:
display="1"
The alternative is the add="1" variable, which adds an item to
the PayPal Shopping Cart.
If both add and display are specified, display takes
precedence.
1
handling_
cart
Optional Single handling fee to be charged cart-wide. If handling_cart
is used in multiple Add to Cart buttons, the handling_cart
value of the first item is used.
item_name Required Name of the item or a name for the entire Shopping Cart