PayPal Button Manager API (NVP)
PayPal Button Manager API (NVP) PayPal Button Manager API (NVP)
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
- Page 13 and 14: PayPal Payments Standard Button Man
- Page 15 and 16: 2Using the Button Manager APIWith N
- Page 17 and 18: Using the Button Manager API With N
- Page 19 and 20: Using the Button Manager API With N
- Page 21 and 22: Using the Button Manager API With N
- Page 23 and 24: 3Button Manager API ReferenceThe Bu
- Page 25 and 26: Button Manager API ReferenceBMCreat
- Page 27 and 28: Button Manager API ReferenceBMCreat
- Page 29 and 30: Button Manager API ReferenceBMUpdat
- Page 31 and 32: Button Manager API ReferenceBMUpdat
- Page 33 and 34: Button Manager API ReferenceBMUpdat
- Page 35 and 36: Button Manager API ReferenceBMButto
- Page 37 and 38: Button Manager API ReferenceBMGetBu
- Page 39 and 40: Button Manager API ReferenceBMGetBu
- Page 41 and 42: Button Manager API ReferenceBMSetIn
- Page 43 and 44: Button Manager API ReferenceBMSetIn
- Page 45 and 46: Button Manager API ReferenceBMSetIn
- Page 47 and 48: Button Manager API ReferenceBMGetIn
- Page 49 and 50: Button Manager API ReferenceBMGetIn
- Page 51 and 52: AHTML Variables for PayPalPayments
- Page 53 and 54: HTML Variables for PayPal Payments
- Page 55 and 56: HTML Variables for PayPal Payments
- Page 57 and 58: HTML Variables for PayPal Payments
- Page 59 and 60: HTML Variables for PayPal Payments
- Page 61 and 62: HTML Variables for PayPal Payments
- Page 63: HTML Variables for PayPal Payments
- Page 67 and 68: HTML Variables for PayPal Payments
- Page 69 and 70: HTML Variables for PayPal Payments
- Page 71 and 72: HTML Variables for PayPal Payments
- Page 73 and 74: HTML Variables for PayPal Payments
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