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
220 September 2008 Website Payments Standard Integration Guide
Creating Advanced Add to Cart Buttons With JavaScript Disabled
The button creation tool for Add to Cart buttons and View Cart buttons, described above,
requires JavaScript. If JavaScript is disabled in your browser, PayPal automatically offers you
an alternative button creation tool that does not require JavaScript.
IMPORTANT: The button creation tool for PayPal Shopping Cart buttons with JavaScript
disabled does not support encryption of the code it generates. Secure your
button code for Add to Cart buttons by using an alternative strategy
described in Chapter 6, “Protecting Payment Buttons by Using Encrypted
Website Payments.” View Cart buttons do not require encryption.
Read the following topics to learn how to create Add to Cart and View Cart buttons with
JavaScript disabled.
z “The Pages in the Button Creation Tool for Add to Cart” on page 220
z “Page 1 – Specifying the Basic Features of the Add to Cart Button” on page 220
z “Page 2 – Adding More Details to the PayPal Shopping Cart Button” on page 223
z “Copying and Pasting PayPal Shopping Cart Code With JavaScript Disabled” on page 227
N OTE: The alternative tool lets you create Add to Cart buttons on the PayPal website, but it
does not allow you to save your buttons in your PayPal account.
The Pages in the Button Creation Tool for Add to Cart
The button creation tool for Add to Cart and View Cart buttons with JavaScript disabled has
three pages:
z PayPal Shopping Cart – the initial page to specify the required and most often used
optional features
z PayPal Shopping Cart – Page 2 – an optional page to specify additional, advanced
features, including the button image for View Cart buttons
z Add a shopping cart to your site – the final page that has the generated code for your
payment button
You can switch between the first and second pages until you click the Create Button Now
button to display the third page that has the generated code.
Page 1 – Specifying the Basic Features of the Add to Cart Button
To create HTML code for an Add to Cart button and a View Cart button using a tool on the
PayPal website with JavaScript disabled:
1. Log in to your PayPal account at
https://www.paypal.com.
2. Click the Edit Profile link.
The Profile Summary page opens.
3. Under the Selling Preferences heading, click the Create New Button link.
The Create PayPal payment button page opens.