Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 207
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Creating Advanced PayPal Shopping Cart Buttons on the PayPal Website
4
Saving your payment buttons in your PayPal account has these benefits:
z Your payment buttons are more secure, because the generated code that add to your website
contains no information that can be tampered with to produce fraudulent payments.
z You can edit the details and options for your payment buttons in your PayPal account,
without changing the button code that you added to your website.
N OTE: If you change product options, you must copy and paste the code newly generated
by PayPal to replace the code that you pasted previously.
z You can track inventory.
Use the Step 2 section of the button creation tool to control whether your button is saved in
your PayPal account.
Tracking Inventory
PayPal can track inventory for items that you sell with Add to Cart buttons if you save them in
your PayPal account. You can track inventory for the item itself or by its product options.
If you track inventory, PayPal helps you avoid oversold situations. PayPal sends you an alert
by email when your inventory on hand falls to or below the alert level you specify. You have
the option to let oversold transactions go through or to warn buyers and prevent them from
buying more than your quantity on hand.
Use the Step 2 section of the button creation tool to specify the information that PayPal uses to
track inventory. You can have a maximum of 1,000 saved buttons in your PayPal account.
Adding Advanced Features to Add to Cart Buttons With HTML Variables
Some advanced features of payment buttons can be specified only with HTML variables. If
you are familiar with HTML programming and the advanced HTML variables supported by
Website Payments Standard payment buttons, you can enter them in the button creation tool
before the button code is generated.
Use the Step 3 section of the button creation tool to enter advanced HTML variables that you
want to include in your payment button.
For more information, see Step 5 of “Step 3 – Adding Advanced Features to Your Add to Cart
Button” on page 214.
Step 1 – Specifying Basic Features of Your Add to Cart Button
To begin using the button creation tool for Add to Cart buttons:
1. Log in to your PayPal Premier or Business account at
https://www.paypal.com.
The My Account Overview page opens.
2. Click the Profile subtab.
The Profile Summary page opens.
3. Under the Selling Preferences heading, do one of the following: