PayPal Button Manager API (NVP)

PayPal Button Manager API (NVP) PayPal Button Manager API (NVP)

paypalobjects.com
from paypalobjects.com More from this publisher
13.07.2015 Views

AHTML Variables for PayPal Payments StandardHTML Variables for Recurring Payments ButtonsNameRequiredorOptionalDescriptionmodify Optional Modification behavior.Allowable values are:• 0 – allows subscribers only to sign up for newsubscriptions• 1 – allows subscribers to sign up for new subscriptionsand modify their current subscriptions• 2 – allows subscribers to modify only their currentsubscriptionsThe default value is 0.usr_manage Optional Set to 1 to have PayPal generate usernames and initialpasswords for subscribers.CharacterLength11Automatic Billing Button HTML VariablesNameRequiredorOptionalDescriptionmax_text Optional A description of the automatic billing plan. The buttoncreation tool uses the same value that you enter in theDescription field. Your button passes the description toPayPal to augment the item name in authorization noticesand transaction details. If you write the HTML code for yourbutton manually, the value of max_text and the text abovethe button can differ.set_customer_limitRequiredSpecify whether to let buyers enter maximum billing limitsin a text box or choose from a list of maximum billing limitsthat you specify.Allowable values are:• max_limit_own – your button displays a text box forbuyers to enter their own maximums above a minimumbilling limit that you set with the min_amount variable.• max_limit_defined – your button displays adropdown menu of product options with prices to letbuyers choose their maximum billing limits.min_amount Optional The minimum monthly billing limit, if you have one. Validonly if set_customer_limit = max_limit_own.CharacterLength64 April 2012 Button Manager NVP API

HTML Variables for PayPal Payments StandardHTML Variables for Recurring Payments ButtonsAInstallment Plan Buttons HTML VariablesNameRequiredorOptionalDescriptionCharacterLengthdisp_tot Optional Display the total payment amount to buyers during checkoutAllowable values are:• Y – display the total• N – do not display the totalThe default is N.option_index Required • If the button offers a single plan, use 0, or use a numbernot used for option fields without prices, such as size andcolor.• If the button offers plan options, the cardinal number ofthe option field, on0 through on9, with plan paymentoptions.Include option_index if the number for the single plan oroptions field is not 0.option_selectn Required • If the button offers a single plan, the value attribute of ahidden input field named osn. The value attributes ofboth elements must match, as the following sample codeshows118...• If the button offers plan options, the value attribute ofthe radio button for plan option n. The value attributesof both elements must match, as the following samplecode shows:Pay in 4 installments...option_selectn_nameRequired • If the button offers plan options, text next to the radiobutton for plan option n• If the button offers a single plan, text that describes theplan featuresFor example, you might use the text “Pay in 4 installments.”Button Manager NVP API April 2012 65

HTML Variables for <strong>PayPal</strong> Payments StandardHTML Variables for Recurring Payments <strong>Button</strong>sAInstallment Plan <strong>Button</strong>s HTML VariablesNameRequiredorOptionalDescriptionCharacterLengthdisp_tot Optional Display the total payment amount to buyers during checkoutAllowable values are:• Y – display the total• N – do not display the totalThe default is N.option_index Required • If the button offers a single plan, use 0, or use a numbernot used for option fields without prices, such as size andcolor.• If the button offers plan options, the cardinal number ofthe option field, on0 through on9, with plan paymentoptions.Include option_index if the number for the single plan oroptions field is not 0.option_selectn Required • If the button offers a single plan, the value attribute of ahidden input field named osn. The value attributes ofboth elements must match, as the following sample codeshows118...• If the button offers plan options, the value attribute ofthe radio button for plan option n. The value attributesof both elements must match, as the following samplecode shows:Pay in 4 installments...option_selectn_nameRequired • If the button offers plan options, text next to the radiobutton for plan option n• If the button offers a single plan, text that describes theplan featuresFor example, you might use the text “Pay in 4 installments.”<strong>Button</strong> <strong>Manager</strong> <strong>NVP</strong> <strong>API</strong> April 2012 65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!