HTML Variables for Website Payments Standard 5

HTML Variables for Prepopulating PayPal Checkout Pages





HTML variables for prepopulating PayPal checkout pages let you specify information about the payer. It is recommended that you include prepopulation variables with all of your payment buttons to ensure consistency of address handling in your buyers's checkout experiences.

To determine how the experience varies if you do not consistently pass in prepopulation variables, see Address Handling (U.S. Merchants Only).

Note: If you prepopulate address_override=1 or prepopulate tax or shipping variables, the passed-in values will display in the transaction widget and the calculation widget will be hidden, regardless of whether you have setup shipping and tax rates in your account profile.

Table 8. 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 Countries and Regions Supported by PayPal.

2

email

Optional

Email address

127

first_name

Optional

First name

32

last_name

Optional

Last name

64

lc

Optional

Sets the payer's language for the billing information/log-in page only. The default is US.

For allowable values, see Countries and Regions Supported by PayPal.

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.

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 payer's 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 payer's home phone number.

See description.

night_ phone_c

Optional

The four-digit phone number for U.S. phone numbers. This will prepopulate the payer's home phone number.

See description.

state

Optional

State; use Official U.S. Postal Service Abbreviations.

2

zip

Optional

Postal code

32


 

Search This Blog

Link Within Related Posts Plugin for WordPress, Blogger...