HTML Samples and Buy Now, Donations, and Shopping Cart Variables
A
PayPal Shopping Cart HTML and Variables
T
ABLE
A.4
Shopping Cart Variables
Required
or
Name
Optional
Description
Allowable Values
paymentaction
Optional
Indicates whether transaction is an authorization to
authorization
be captured later with PayPal Authorization &
Capture on
https://www.paypal.com/
.
For more information, see the PayPal
Authorization & Capture Integration Guide.
Adding PayPal Checkout To Your Third Party Shopping Cart
The code for your PayPal POST requires an image as the FORM submit button and the
following three hidden variables:
T
ABLE
A.5
Third Party Shopping Cart Variables
Name
Description
business
Email address on your PayPal account.
item_name
Name of the item (or a name for the Shopping Cart).
amount
Price of the item (the total price of all items in the Shopping
Cart).
Additional Variables
The additional variables that PayPal offers to customize your form post are the same as the
additional variables for Buy Now and Donations.
For more information on the additional variables, see
Buy Now and Donation Buttons HTML
and Variables on page 127
.
Passing Individual Items to PayPal or Upload Cart
If your third party shopping cart can be configured to pass individual items to PayPal,
information about the items are included in the buyer's and seller's history logs and
notifications. To include information about the items, you will post HTML form elements to a
new version of PayPal's Shopping Cart flow. This process is much like the one described in
Passing Individual Items to PayPal on page 77
, with the following exceptions:
1. Set the cmd variable to _cart. For example, you can replace this required HTML line:
with
134
August, 2005 Website Payments Standard Checkout Integration Guide
footer
Our partners:
PHP: Hypertext Preprocessor Cheap Web Hosting
JSP Web Hosting
Ontario Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Java Hosting
Cheapest Hosting
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved