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 HTML Variables
A
100 November 2005 Website Payments Standard Checkout Integration Guide
quantity Number of items. The amount, shipping and tax are multiplied
by the quantity to derive the total payment amount. If this is a
shopping cart transaction, PayPal appends the number of the item
(e.g.
quantity1, quantity2).
NOTE: The value for quantity must be a positive integer.
Null, zero, or negative numbers are not allowed.
Optional
undefined_
quantity
1: allows buyer to specify the quantity.
NOTE: This variable is allowed only in Buy Now or Donations,
and not allowed in shopping carts.
Optional 1
on0 First option field name. If omitted, no variable is passed back to
you.
Optional 64
on1 Second option field name. If omitted, no variable is passed back
to you.
Optional 64
os0 First set of option values. If this option is selected through a text
box or radio button, each value should be no more than 64
characters. If this value is entered by the customer in a text field,
there is a 200-character limit. If omitted, no variable is passed
back to you.
NOTE: on0 must also be defined set.
Optional 64 or 200
See
description.
os1 Second set of option values.
NOTE: on1 must also be set.
If this option is selected through a text box or radio button, each
value should be no more than 64 characters. If this value is
entered by the customer in a text field, there is a 200-character
limit. If omitted, no variable is passed back to you.
Optional 64 or 200
See
description.
TABLE A.4 HTML Variables: Display Information
Name Description
Required or
Optional
Character
Length
add Add an item to the PayPal-hosted shopping cart.
This variable must be set as follows:
add=1
The alternative is the display=1 variable, which allows the
user to view the contents of the PayPal-hosted shopping cart.
If both
add and display are specified, display takes
precedence.
Required 1
T
ABLE A.3 HTML Variables: Item Information
Name Description
Required or
Optional
Character
Length