
13
Integrating Your Website Using HTML
HTML Variables
HTML Variables
The table below lists the Hosted Solution HTML variables you can use to send in additional
transaction information along with your web request. For a list of HTML variables that you
can use to customise the look and feel of your payment page, refer to Table 3.1, “HTML
Variables for Look and Feel of Payment Page.
TABLE 2.1 HTML Variables for Settings of Payment Page
Variable Description Mandatory
address1
Street name of shipping address. (1 of 2 fields) No
address2
Street name of shipping address. (2 of 2 fields) No
address_override
The payer is shown the passed-in address but cannot edit
it. This variable is overridden if there are errors in the
address. The allowable values are true/false. Default is
false.
No
billing_address1
Street name of the billing address. (1 of 2 fields) No
billing_address2
Street name of the billing address. (2 of 2 fields) No
billing_city
City name of the billing address. No
billing_country
Country code of the billing address. No
billing_first_name
First name of person the item is being billed to. No
billing_last_name
Last name of person the item is being billed to. No
billing_state
State name of the billing address. No
billing_zip
Zip code of the billing address. No
bn
Identifies the source that built the code for the button.
Format -
<Company>_<Service>_<Product>_<Country>
No
buyer_email
Email address of the buyer. No
cancel_return
The browser will be redirected to this URL if the buyer
clicks “Return to Merchant” link. Be sure to enter the
complete URL, including http:// or https://.
No
cbt
Sets the text for the “Return to Merchant” link on the
PayPal confirmation page. For business accounts, the
return button displays your business name in the place of
the word “Merchant” by default.
No
city
City name of shipping address. No
country
Country name of shipping address. No
currency_code
The currency of the payment. The default is USD. No
Komentáře k této Příručce