PayPal Button Manager API (NVP)
PayPal Button Manager API (NVP) PayPal Button Manager API (NVP)
1PayPal Payments Standard Button Manager API OverviewGranting Third-Party Permission for APIs14 April 2012 Button Manager NVP API
2Using the Button Manager APIWith NVPThese examples show basic Button Manager API capabilities. The examples show how tocreate buttons and set inventory levels.• Specifying HTML Variables• Creating a Button Using NVP• Offering Multiple Payment Option Subscriptions Using NVP• Offering Installment Plans Using NVP• Offering Automatic Billing Using NVP• Tracking Inventory for Menu Items Using NVP• Using the Button Manager API With Hosted Solution CheckoutSpecifying HTML VariablesWhen you create or update a button using the Button Manager API, you must specify the sameHTML variables that you specify when creating any PayPal Payments Standard button.Although you can use the L_BUTTONVARn field to specify any HTML variables, somevariables are commonly used in specific ways.The following table provides additional information about some of these variables:HTML Variableitem_nameamounta3p3t3NotesName or description of item. Must be specified for Add to Cart buttons.Character length and limitations: 127 single-byte alphanumeric characters.The price or amount of the item. Required for Add to Cart buttons. May notbe used when a dropdown with price (L_OPTION0PRICEn) is defined.Limitations: Value must be a positive number. No currency symbol. Must havetwo decimal places, decimal separator must be a period (.), and the optionalthousands separator must be a comma (,).Price of subscription. Must be specified for Subscribe buttons. Value must bea positive number. No currency symbol. Must have two decimal places,decimal separator must be a period (.), and the optional thousands separatormust be a comma (,).Regular billing cycle. Must be specified for Subscribe buttons. Limitations:Must be a positive integer greater than 0 and less than or equal to 30Regular billing cycle units. Must be specified for Subscribe buttons.Button Manager NVP API April 2012 15
- Page 1 and 2: Button Manager API(NVP)Last updated
- Page 3 and 4: ContentsPreface . . . . . . . . . .
- Page 5 and 6: PrefaceThis document describes the
- Page 7 and 8: 1PayPal Payments StandardButton Man
- Page 9 and 10: PayPal Payments Standard Button Man
- Page 11 and 12: PayPal Payments Standard Button Man
- Page 13: PayPal Payments Standard Button Man
- 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 and 64: HTML Variables for PayPal Payments
2Using the <strong>Button</strong> <strong>Manager</strong> <strong>API</strong>With <strong>NVP</strong>These examples show basic <strong>Button</strong> <strong>Manager</strong> <strong>API</strong> capabilities. The examples show how tocreate buttons and set inventory levels.• Specifying HTML Variables• Creating a <strong>Button</strong> Using <strong>NVP</strong>• Offering Multiple Payment Option Subscriptions Using <strong>NVP</strong>• Offering Installment Plans Using <strong>NVP</strong>• Offering Automatic Billing Using <strong>NVP</strong>• Tracking Inventory for Menu Items Using <strong>NVP</strong>• Using the <strong>Button</strong> <strong>Manager</strong> <strong>API</strong> With Hosted Solution CheckoutSpecifying HTML VariablesWhen you create or update a button using the <strong>Button</strong> <strong>Manager</strong> <strong>API</strong>, you must specify the sameHTML variables that you specify when creating any <strong>PayPal</strong> Payments Standard button.Although you can use the L_BUTTONVARn field to specify any HTML variables, somevariables are commonly used in specific ways.The following table provides additional information about some of these variables:HTML Variableitem_nameamounta3p3t3NotesName or description of item. Must be specified for Add to Cart buttons.Character length and limitations: 127 single-byte alphanumeric characters.The price or amount of the item. Required for Add to Cart buttons. May notbe used when a dropdown with price (L_OPTION0PRICEn) is defined.Limitations: Value must be a positive number. No currency symbol. Must havetwo decimal places, decimal separator must be a period (.), and the optionalthousands separator must be a comma (,).Price of subscription. Must be specified for Subscribe buttons. Value must bea positive number. No currency symbol. Must have two decimal places,decimal separator must be a period (.), and the optional thousands separatormust be a comma (,).Regular billing cycle. Must be specified for Subscribe buttons. Limitations:Must be a positive integer greater than 0 and less than or equal to 30Regular billing cycle units. Must be specified for Subscribe buttons.<strong>Button</strong> <strong>Manager</strong> <strong>NVP</strong> <strong>API</strong> April 2012 15