Integration Guide

Table Of Contents
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Creating Advanced PayPal Shopping Cart Buttons on the PayPal Website
4
206 September 2008 Website Payments Standard Integration Guide
z “Using the Button Creation Tool for a View Cart Button” on page 218
N OTE: If JavaScript is disabled in your browser, PayPal provides an alternative tool described
in “Creating Advanced Add to Cart Buttons With JavaScript Disabled” on page 220.
The Basic Steps for Using the Tool With Add to Cart Buttons
The button creation tool for Add to Cart buttons is a single webpage with three sections:
z Step 1 – Choose button type and enter payment details – This section lets you specify
the details of your Add to Cart button. You can specify product options that buyers can
choose, and you can specify item-specific charges for shipping and tax.
z Step 2 – Track inventory (optional)This section lets you control whether to save your
button in your PayPal account. If you save your button, you can enter information that
PayPal uses to track inventory on the item.
z Step 3 – Customize advanced features (optional) – This section lets you work with
advanced features of Add to Cart buttons. If you are familiar with HTML programming
and the advanced HTML variables supported by Website Payments Standard buttons, you
can enter them here.
One section at a time is open for you to work with. To work with another section, click its step
bar to expand it.
You can switch between the sections as often as you like, until you click the Create Button
button at the bottom of the page. Then, PayPal generates the code for your button and displays
it on the You are viewing your button code page. Copy the code and paste it onto your
webpage, and your payment button is complete.
Saving Add to Cart Buttons in Your PayPal Account
By default, the button creation tool saves payment buttons in your PayPal account. The tool
saves your button and generates the code when you click the Create Button. You must copy
and paste the generated code onto your webpages, whether or not you save your button at
PayPal. The generated code is shorter for saved buttons, because PayPal keeps most of the
information about your button in your account, instead of placing it in the code that you add to
your website.