HTML Samples and Buy Now, Donations, and Shopping Cart Variables
A
PayPal Shopping Cart HTML and Variables
2. Add the variable upload by adding the following line between the 
and
tags:
3. Define item details 
For each of the following item specific parameters, define a new set of values that correspond 
to each item that was purchased via your third party cart. Append _x to the variable name, 
where x is the item number, starting with 1 and increasing by one for each item included in the 
shopping cart.
The minimum required HTML for your post to PayPal looks similar to the following. 
E
XAMPLE
A.1 HTML for Passing Individual Item Detail to PayPal
T
ABLE
A.6
Variables for Individual Items in Third Party Shopping Carts
Character 
Name
Description
Length
item_name_x
Required for item #x. Name of item #x in the cart. Must be 
127
alphanumeric.
item_number_x
Pass through variable for you to track purchases or 
127
donations, passed back to you at payment completion. If 
omitted, no variable will be passed back to you.
amount_x
Required for item #x. Price of the item #x.
quantity_x
Required for item #x. Quantity of the item #x.
N
O T E
:
The value for 
quantity
_x must be a positive 
integer. Null, zero, or negative numbers are not 
allowed.
shipping_x
The cost of shipping the first piece (quantity of 1) of item 
#x.
shipping2_x
The cost of shipping each additional piece (quantity of 2 or 
above) of item #x.
Website Payments Standard Checkout Integration Guide
August, 2005
135






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

web hosting paypal

 

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