Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 347
HTML Variables for Website Payments Standard
HTML Variables for Individual Items
A
HTML Variables for Individual Items
HTML variables for individual items specify information about a product or service for Buy
Now and Add to Cart buttons, or they specify information about a contribution for Donate
buttons.
TABLE A.3 HTML VariablesItem Information
Name
Required
or
Optional Description
Character
Length
amount See
description.
The price or amount of the product, service, or contribution, not
including shipping, handling, or tax. If omitted from Buy Now or
Donate buttons, payers enter their own amount at the time of
payment.
z Required for Add to Cart buttons
z Optional for Buy Now and Donate buttons
z Not used with Subscribe or Buy Gift Certificate buttons
item_name See
description.
Description of item. If omitted, payers enter their own name at
the time of payment.
z Optional for Buy Now, Donate, Subscribe and Add to Cart
buttons
z Not used with Buy Gift Certificate buttons
127
item_number Optional Pass-through variable for you to track product or service
purchased or the contribution made. The value you specify
passed back to you upon payment completion.
127
quantity Optional Number of items. If profile-based shipping rates are configured
with a basis of quantity, the sum of quantity values is used to
calculate the shipping charges for the transaction. PayPal
appends a sequence number to uniquely identify the item in the
PayPal Shopping Cart (e.g., quantity1, quantity2).
N OTE: The value for quantity must be a positive integer. Null,
zero, or negative numbers are not allowed.
shipping Optional The cost of shipping this item. If you specify shipping and
shipping2 is not defined, this flat amount is charged regardless
of the quantity of items purchased.
This use of the shipping variable is valid only for Buy Now
and Add to Cart buttons.
Default – If profile-based shipping rates are configured, buyers
are charged an amount according to the shipping methods they
choose.