Integration Guide

Table Of Contents
A
Website Payments Standard Integration Guide September 2008 345
HTML Variables for Website
Payments Standard
This appendix provides reference information for all HTML variables supported for use with
Buy Now, Donation, Subscribe, Add to Cart, and View Cart buttons, as well as HTML
variables supported the Cart Upload command.
Read the following topics to learn about the kinds of HTML variables that you can use:
z “Technical HTML Variables” on page 345
z “HTML Variables for Individual Items” on page 347
z “HTML Variables for Payment Transactions” on page 351
z “HTML Variables for Shopping Carts” on page 353
z “HTML Variables for Subscribe Buttons” on page 356
z “HTML Variables for Displaying PayPal Checkout Pages” on page 358
z “HTML Variables for Prepopulating PayPal Checkout Pages” on page 361
Technical HTML Variables
Technical HTML variables control how PayPal responds technically when people click Buy
Now, Donation, Subscribe, Add to Cart, and View Cart buttons or when third party or custom
carts initiate payment processing with the Cart Upload command. They also control how your
buttons interact with special PayPal features.
TABLE A.1 Allowable Values for the cmd HTML Variable
Value of cmd Description
_xclick The button that the person clicked was a Buy Now button.
_donations The button that the person clicked was a Donate button.
_xclick-subscriptions The button that the person clicked was a Subscribe button.
_oe-gift-certificate The button that the person clicked was a Buy Gift Certificate button.
_cart For shopping cart purchases; these additional variables specify the
kind of shopping cart button that the person clicked:
z add – Add to Cart buttons for the PayPal Shopping Cart
z display – View Cart buttons for the PayPal Shopping Cart
z upload – The Cart Upload command for third party carts