Integration Guide
Table Of Contents
- Preface
- How Website Payments Standard Works
- Using Your Merchant Account Profile and Tools
- The Account Profile Summary
- Branding PayPal’s Payment Pages
- Streamlining Purchases with Website Payment Preferences
- Blocking Certain Kinds of Payment
- Adding Your Credit Card Statement Name
- Getting Customer Contact Telephone Numbers
- Language Encoding Your Data
- Multi-User Access to Your PayPal Account
- PayPal-Supported Currencies
- Issuing Refunds
- Single-Item Payment: Buy Now and Donations
- Multiple-Item Payment: Shopping Cart
- Encrypted Website Payments
- Testing in the PayPal Sandbox
- Website Payments Standard HTML FORM Basics
- Website Payments Standard HTML Variables
- Country Codes
- Index
Website Payments Standard Checkout Integration Guide November 2005 105
Website Payments Standard HTML Variables
A
handling_x Optional The cost of handling for item #x.
item_name_
x Required Name of item #x in the cart. Must be alphanumeric. 127
item_number_x Optional Passthrough variable for you to track order or other
purchase.
Default: no variable is passed back to you.
127
on0_x Optional First option field name for item #
x 64
on1_x Optional Second option field name for item #
x.64
os0_x Optional First set of option value(s) for item #
x. Requires that on0_x
also be set.
200
os1_x Optional Second set of option value(s) for item #
x. Requires that
on1_x also be set.
200
quantity_x Optional Quantity of the item #
x.
NOTE: The value of quantity_x must be a positive
integer. Null, zero, or negative numbers are not
allowed.
shipping_x Optional The cost of shipping the first piece (quantity of 1) of item
#
x.
shipping2_x Optional The cost of shipping each additional piece (quantity of 2 or
more) of item #
x.
tax_x Optional The tax amount for item #
x.
T
ABLE A.8 HTML Variables: Prepopulating PayPal FORMs or Address Overriding
Variable Description Requirements
Character
Limit
address1 Street (1 of 2 fields) Alphanumeric 100
address2 Street (2 of 2 fields) Alphanumeric 100
city City Alphanumeric 40
country Sets shipping and billing country. See
Appendix C for allowable country codes.
Alphabetic 2
email Customer’s email address Alphanumeric 127
first_name First name Alphabetic 32
T
ABLE A.7 HTML Variables: Individual Items in Third-Party Shopping Carts
Name
Required
or
Optional Description
Character
Length