Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 361
HTML Variables for Website Payments Standard
HTML Variables for Prepopulating PayPal Checkout Pages
A
HTML Variables for Prepopulating PayPal Checkout Pages
HTML variables for prepopulating PayPal checkout pages let you specify information about
the payer.
TABLE A.9 HTML Variables for Prepopulating Checkout Pages With Payer Information
Name
Required
or
Optional Description
Character
Length
address1 Optional Street (1 of 2 fields) 100
address2 Optional Street (2 of 2 fields) 100
city Optional City 40
country Optional Sets shipping and billing country.
For allowable values, see
Appendix C, “Country Codes.”
2
first_name Optional First name 32
last_name Optional Last name 64
lc Optional Sets the payers language for the billing information/log-in page
only. The default is US.
For allowable values, see
Appendix C, “Country Codes.”
2
charset Optional Sets the character encoding for the billing information/log-in
page, for the information you send to PayPal in your HTML
button code, and for the information that PayPal returns to you as
a result of checkout processes initiated by the payment button.
The default is based on the character encoding settings in your
account profile.
For allowable values, see
“Setting the Character Set –
charset” on page 339
.”
21
night_
phone_a
Optional The area code for U.S. phone numbers, or the country code for
phone numbers outside the U.S. This will prepopulate the payers
home phone number.
See
description.
night_
phone_b
Optional The three-digit prefix for U.S. phone numbers, or the entire
phone number for phone numbers outside the U.S., excluding
country code. This will prepopulate the payers home phone
number.
See
description.
night_
phone_c
Optional The four-digit phone number for U.S. phone numbers. This will
prepopulate the payers home phone number.
See
description.
state Optional State; use Official U.S. Postal Service Abbreviations
.2
zip Optional Postal code 32