Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 355
HTML Variables for Website Payments Standard
HTML Variables for Shopping Carts
A
item_name_x Required Name of item #x in the cart. Must be alphanumeric. 127
item_number_
x Optional Passthrough variable for you to track order or other purchase.
Default – No variable is passed back to you.
127
on0_
x Optional First option field name for item #x 64
on1_
x Optional Second option field name for item #x. 64
os0_
x Optional First option selection for item #x. Requires that on0_x also be
set.
200
os1_
x Optional Second option selection for item #x. Requires that on1_x also be
set.
200
quantity_
x Optional Quantity of the item #x. If profile-based shipping rates are
configured with quantity as the basis, the sum of all
quantity_
x values are used to calculate the shipping charges.
N OTE: The value of quantity_x must be a positive integer.
Null, zero, or negative numbers are not allowed.
shipping_
x Optional The cost of shipping #x. This variable excludes the item from
automatic shipping calculations; the amount is added to the
shipping charges calculated automatically on other items in the
cart.
tax_
x Optional The tax amount for item #x. This variable excludes the item from
automatic tax calculations; the amount is added to the taxes
calculated automatically on other items in the cart.
weight_
x Optional The weight of item #x.
weight_unit Optional The unit of measure if weight_
x is specified. Allowable values:
z lbs
z kgs
The default is lbs.
T
ABLE A.6 HTML Variables for Individual Items in Third Party Shopping Carts
Name
Required
or
Optional Description
Character
Length