User Guide

Table Of Contents
Using the Button Manager API With NVP
Creating a Button Using NVP
2
16 April 2012 Button Manager NVP API
For a complete list of HTML variables and complete information, see HTML Variables for
PayPal Payments Standard.
Creating a Button Using NVP
The example shows the NVP parameters for creating a hosted Add to Cart button of the
standard size. The button is also associated with menu items.
...
BUTTONCODE=HOSTED
BUTTONTYPE=CART
L_BUTTONVAR0=business=merchant@abc.com
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
shopping_url URL where recipients can shop and redeem gift certificates. Required for Gift
Certificate buttons. Character length and limitations: 255 single-byte
alphanumeric characters
no_note Must be specified for Subscribe buttons. Enables a subscriber to not be
prompted to include a note with the subscription, a function which PayPal
subscriptions does not support. This variable must be included, and the value
must be set to 1.
business Secure Merchant ID or Email Address. When omitted, defaults to the secure
merchant ID of the merchant. If an email address is specified then it the
following requirements apply:
A merchant or 3rd Party calling the API directly may specify an
unregistered email and create an unencrypted button only.
A 3rd Party calling the API on behalf of a registered merchant must specify
an email address associated with the merchant account.
Character length and limitations: 127 single-byte characters.
item_number Item number or ID. Character length and limitations: 127 single-byte
alphanumeric characters.
lc If specified, it overrides the value set in the BUTTONCODE field.
HTML Variable Notes