User Guide

Table Of Contents
Button Manager NVP API April 2012 17
Using the Button Manager API With NVP
Offering Multiple Payment Option Subscriptions Using NVP
2
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 PayPal Payments Standard.
Offering Multiple Payment Option Subscriptions Using NVP
The example shows how to create a Subscribe button for 3 kinds of payment options.
...
BUTTONTYPE value=SUBSCRIBE
OPTION0NAME value="Special TV"
L_OPTION0SELECT0 value="Regular"
L_OPTION0PRICE0 value="12.30"
L_OPTION0BILLINGPERIOD0 value="Month"
L_OPTION0SELECT1 value="Super"
L_OPTION0PRICE1 value="1.30"
L_OPTION1BILLINGPERIOD0 value="Month"
L_OPTION0SELECT2 value="Premium"
L_OPTION0PRICE2 value="1.30"
L_OPTION2BILLINGPERIOD0 value="Month"
...
Offering Installment Plans Using NVP
The example shows how to offer installment plans for both variable installments and equal
monthly installments, as well as payment in full. Various billing cycles and frequencies are
allowed.
...
L_BUTTONVAR1 value="item_name=Example"
BUTTONTYPE value=PAYMENTPLAN
OPTION0NAME value="Special Televesion"
L_OPTION0SELECT0 value="First"
L_OPTION0PRICE0 value="12.00"
OPTION0TYPE value="FULL"
OPTION1TYPE value="EMI"
L_OPTION0SELECT1 value="Second"
L_OPTION1AMOUNT0 value=12.23
L_OPTION1BILLINGFREQUENCY0 value=2
L_OPTION1BILLINGPERIOD0 value=Month