Integration Guide

Table Of Contents
HTML Variables for PayPal Payments Standard
Technical HTML Variables
A
418 June 2012 PayPal Payments Standard Integration Guide
Technical HTML Variables
Technical HTML variables control how PayPal responds technically when people click
PayPal Payments Standard payment 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.
Allowable Values for the cmd HTML Variable
HTML Variables for Special PayPal Features
Value of cmd Description
_xclick The button that the person clicked was a Buy Now button.
_cart For shopping cart purchases. The following variables specify the kind
of shopping cart button that the person clicked:
add – Add to Cart buttons for the PayPal Shopping Cart
display – View Cart buttons for the PayPal Shopping Cart
upload – The Cart Upload command for third-party carts
_oe-gift-certificate The button that the person clicked was a Buy Gift Certificate button.
_xclick-subscriptions The button that the person clicked was a Subscribe button.
_xclick-auto-billing The button that the person clicked was an Automatic Billing button.
_xclick-payment-plan The button that the person clicked was an Installment Plan button.
_donations The button that the person clicked was a Donate button.
_s-xclick The button that the person clicked was protected from tampering by
using encryption, or the button was saved in the merchant’s PayPal
account. PayPal determines which kind of button was clicked by
decoding the encrypted code or by looking up the saved button in the
merchant’s account.
Name
Required
or
Optional Description
Character
Length
notify_url Optional The URL to which PayPal posts information about the
payment, in the form of Instant Payment Notification
messages.
255
hosted_button_i
d
See
description.
Required for buttons that have been saved in PayPal
accounts; otherwise, not allowed.
The identifier of a button that was saved in a merchant’s
PayPal account. PayPal assigns the value when payment
buttons are first created and saved in merchants’ PayPal
accounts.
NOTE: A merchant’s PayPal account can have a maximum
of 1,000 saved payment buttons.
See
description.