PayPal Button Manager API (NVP)
PayPal Button Manager API (NVP) PayPal Button Manager API (NVP)
AHTML Variables for PayPal Payments StandardHTML Variables for Filling Out PayPal Checkout Pages AutomaticallyNameRequiredorOptionalDescriptionCharacterLengthcbt Optional Sets the text for the Return to Merchant button on thePayPal Payment Complete page. For Business accounts, thereturn button displays your business name in place of theword “Merchant” by default. For Donate buttons, the textreads “Return to donations coordinator” by default.NOTE: The cbt variable takes effect only if the returnvariable is set.cancel_return Optional A URL to which PayPal redirects the buyers’ browsers ifthey cancel checkout before completing their payments. Forexample, specify a URL on your website that displays a“Payment Canceled” page.Default – PayPal redirects the browser to a PayPal webpage.601,024HTML Variables for Filling Out PayPal Checkout PagesAutomaticallyHTML variables for filling out PayPal checkout pages automatically let you specifyinformation about buyers. PayPal recommends that you include automatic fill-out variableswith all of your payment buttons for consistent address handling in the checkout experience ofyour buyers.NOTE:When you pass in address_override=1 or tax or shipping variables, PayPaldisplays the values in the payment widget. Also, PayPal hides the calculation widget,regardless of setting up shipping and tax rates in your Account Profile.HTML Variables for Filling Out PayPal Checkout Pages Automatically for BuyersNameRequiredorOptionalDescriptionCharacterLengthaddress1 Optional Street (1 of 2 fields) 100address2 Optional Street (2 of 2 fields) 100city Optional City 40country Optional Sets shipping and billing country. 2email Optional Email address 127first_name Optional First name 32last_name Optional Last name 6470 April 2012 Button Manager NVP API
HTML Variables for PayPal Payments StandardHTML Variables for the Instant Update APIANameRequiredorOptionalDescriptionCharacterLengthlc Optional Sets the language for the billing information/log-in pageonly. The default is US.2charset Optional Sets the character set and character encoding for the billinginformation/log-in page on the PayPal website. In addition,this variable sets the same values for information that yousend to PayPal in your HTML button code. The default isbased on the language encoding settings in your AccountProfile.night_ phone_a Optional The area code for U.S. phone numbers, or the country codefor phone numbers outside the U.S. PayPal fills in thebuyer’s home phone number automatically.night_ phone_b Optional The three-digit prefix for U.S. phone numbers, or the entirephone number for phone numbers outside the U.S.,excluding country code. PayPal fills in the buyer’s homephone number automatically.night_ phone_c Optional The four-digit phone number for U.S. phone numbers.PayPal fills in the buyer’s home phone numberautomatically.Seedescription.Seedescription.Seedescription.state Optional State code 2zip Optional Postal code 32HTML Variables for the Instant Update APIHTML variables for the Instant Update API set up the Cart Upload command for theInstant Update API callback. Establish your own Instant Update callback server before youuse these variables.Instant Update Variables to Set Up a Payment for the Instant Update API: Some InstantUpdate variables set up the Cart Upload to use your callback server. Include the followingrequired variables in the Cart Upload command to have PayPal send Instant Update requests toyour callback server. Include the following optional variables when appropriate.Button Manager NVP API April 2012 71
- 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
- Page 65 and 66: HTML Variables for PayPal Payments
- Page 67 and 68: HTML Variables for PayPal Payments
- Page 69: HTML Variables for PayPal Payments
- Page 73 and 74: HTML Variables for PayPal Payments
HTML Variables for <strong>PayPal</strong> Payments StandardHTML Variables for the Instant Update <strong>API</strong>ANameRequiredorOptionalDescriptionCharacterLengthlc Optional Sets the language for the billing information/log-in pageonly. The default is US.2charset Optional Sets the character set and character encoding for the billinginformation/log-in page on the <strong>PayPal</strong> website. In addition,this variable sets the same values for information that yousend to <strong>PayPal</strong> in your HTML button code. The default isbased on the language encoding settings in your AccountProfile.night_ phone_a Optional The area code for U.S. phone numbers, or the country codefor phone numbers outside the U.S. <strong>PayPal</strong> fills in thebuyer’s home phone number automatically.night_ phone_b Optional The three-digit prefix for U.S. phone numbers, or the entirephone number for phone numbers outside the U.S.,excluding country code. <strong>PayPal</strong> fills in the buyer’s homephone number automatically.night_ phone_c Optional The four-digit phone number for U.S. phone numbers.<strong>PayPal</strong> fills in the buyer’s home phone numberautomatically.Seedescription.Seedescription.Seedescription.state Optional State code 2zip Optional Postal code 32HTML Variables for the Instant Update <strong>API</strong>HTML variables for the Instant Update <strong>API</strong> set up the Cart Upload command for theInstant Update <strong>API</strong> callback. Establish your own Instant Update callback server before youuse these variables.Instant Update Variables to Set Up a Payment for the Instant Update <strong>API</strong>: Some InstantUpdate variables set up the Cart Upload to use your callback server. Include the followingrequired variables in the Cart Upload command to have <strong>PayPal</strong> send Instant Update requests toyour callback server. Include the following optional variables when appropriate.<strong>Button</strong> <strong>Manager</strong> <strong>NVP</strong> <strong>API</strong> April 2012 71