Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 349
HTML Variables for Website Payments Standard
HTML Variables for Individual Items
A
os0 Optional Option selection of the buyer for the first option field, on0. If the
option field is a dropdown menu or a set of radio buttons, each
allowable value should be no more than 64 characters. If buyers
enter this value in a text field, there is a 200-character limit.
N OTE: The option field on0 must also be defined. For example,
it could be size.
For priced options, include the price and currency symbol in the
text of the option selections, as the following sample code shows:
<option value="small">small - $10.00</option>
Add a corresponding option_select0 and option_amount0
variable for each priced option. Priced options are supported only
for Buy Now and Add to Cart buttons. Only one dropdown menu
option selection can have priced options.
z Optional for Buy Now, Subscribe, and Add to Cart buttons
z Not used with Donate or Buy Gift Certificate buttons
64 or 200
See
description.
os1 Optional Option selection of the buyer for the second option field, on1. If
the option field is a dropdown menu or a set of radio buttons,
each allowable value should be no more than 64 characters. If
buyers enter this value in a text field, there is a 200-character
limit.
You can specify a maximum of 7 option selections (6 with
Subscribe buttons) by incrementing the option selection index
(os0 through os6). You can implement up to 5 option selections
as dropdown menus and up to 2 option selections as test boxes.
N OTE: A corresponding option field (on0 through on6) must
defined.
z Optional for Buy Now, Subscribe, and Add to Cart buttons
z Not used with Donate or Buy Gift Certificate buttons
64 or 200
See
description.
option_index See
description.
The cardinal number of the option field, on0 through on9, that
has product options with different prices for each option. You
must include option_index if the option field with prices is not
on0.
z Optional for Buy Now and Add to Cart buttons
z Not used with Donate, Subscribe, or Buy Gift Certificate
buttons
Default – 0
T
ABLE A.3 HTML VariablesItem Information
Name
Required
or
Optional Description
Character
Length