PayPal Website Payments Standard - 2009 - Button Manager API (NVP) Uživatelská příručka Strana 46

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 60
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 45
HTML Variables for Website Payments Standard
HTML Variables for Individual Items
46 June, 2009 Button Manager NVP API
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.
NOTE: 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.
NOTE: 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
Name
Required
or
Optional Description
Character
Length
Zobrazit stránku 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 59 60

Komentáře k této Příručce

Žádné komentáře