PayPal Website Payments Standard - 2009 - Button Manager API (NVP) Guia do Utilizador Página 15

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 60
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 14
Button Manager NVP API June, 2009 15
Using the Button Manager API
Tracking Inventory for Menu Items Using NVP
...
&BUTTONCODE=HOSTED
&BUTTONTYPE=CART
&L_BUTTONVAR0=business=me[email protected]m
&L_BUTTONVAR1=item_name=Wireless%20Mouse
&L_BUTTONVAR2=amount=10.50
&L_BUTTONVAR3=no_shipping=1
&L_BUTTONVAR4=currency_code=USD
&L_BUTTONVAR5=no_note=1
&OPTION0NAME=Color
&L_OPTION0SELECT0=Red
&L_OPTION0SELECT1=Blue
&L_OPTION0SELECT2=Green
&L_OPTION0PRICE0=10.00
&L_OPTION0PRICE1=8.00
&L_OPTION0PRICE2=12.00
&OPTION1NAME=Size
&L_OPTION1SELECT0=Small
&L_OPTION1SELECT1=Large
&BUTTONIMAGE=reg
...
The button includes menus that allow you to specify the color and size. Each color is
associated with a specific price. The button variables (L_BUTTONVAR0, and such), enable you
to specify the same HTML variables as you ordinarily do using Website Payments Standard;
for information see
HTML Variables for Website Payments Standard.
Tracking Inventory for Menu Items Using NVP
The example shows the NVP parameters that enable tracking of inventory and profit and loss
for three kinds of product whose option number specifies the position in the drop-down menu
for the option.
Vista de página 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 59 60

Comentários a estes Manuais

Sem comentários