Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 351
HTML Variables for Website Payments Standard
HTML Variables for Payment Transactions
A
HTML Variables for Payment Transactions
HTML variables for payment transactions provide information about entire transactions,
regardless of the individual items involved with the payment. You can use these variables with
Add to Cart buttons and the Cart Upload command.
option_amount
1
Optional For priced options, the amount that you want to charge for the
second option selection of the on0 dropdown menu. For
example:
...
<option value="small">medium - $15.00</option>
...
<input type="hidden" name="option_amount1"
value="15.00">
You can specify a maximum of ten option amounts by
incrementing the option amount index (option_amount0
through option_amount9).
N OTE: A corresponding option selection in os0 must also be
set.
z Optional for Buy Now and Add to Cart buttons
z Not used with Donate, Subscribe, or Buy Gift Certificate
buttons
64
T
ABLE A.4 HTML Variables for Payment Transactions
Name
Required
or
Optional Description
Character
Length
address_
override
Optional 1 – The address specified in prepopulation variables overrides
the PayPal members stored address. See
Table A.9, “HTML
Variables for Prepopulating Checkout Pages With Payer
Information
.” The payer is shown the passed-in address but
cannot edit it. No address is shown if the address is not valid,
such as missing required fields like country, or is not included at
all,.
1
currency_
code
Optional The currency of the payment. The default is USD.
For allowable values, see
Table 7.6, “Currencies Allowed for
Transactions and Balances,” on page 316
.
3
T
ABLE A.3 HTML VariablesItem Information
Name
Required
or
Optional Description
Character
Length