Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 185
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Getting Started With The PayPal Shopping Cart
4
10.Click the Create a View Cart button link.
The Create PayPal payment button page opens.
11. Click the Create button button.
The You’ve Created Your Button page opens.
12.Click the Select Code button on the Websites tab to select all of the generated HTML
code.
13.Copy the text that you selected to the clipboard, by:
pressing Ctrl+C.
– or –
right-clicking your mouse, and selecting Copy.
14.In your web editing tool, open the webpage where you want the button to be seen.
IMPORTANT: Be sure that your tool is ready for you to paste HTML code, such as by
switching to an HTML view from a design view of your webpage.
15.Paste the text that you copied from the clipboard onto your webpage where you want the
button to appear, by:
pressing Ctrl+V.
– or –
right-clicking your mouse, and selecting Paste.
Creating View Cart Buttons With JavaScript Disabled
The button creation tool for 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.
Read these topics to learn more about creating View Cart buttons with JavaScript disabled:
z “Limitations When Creating View Cart Buttons With JavaScript Disabled” on page 185
z “Creating a View Cart Button With JavaScript Disabled” on page 186
z “Enabling JavaScript in Your Browser” on page 179
Limitations When Creating View Cart Buttons With JavaScript Disabled. The
alternative tool that works with JavaScript disabled lets you create View Cart buttons on the
PayPal website. However, the following features are not supported by the alternative tool:
z Language choices for buttons images
z Creating payment buttons before you create your PayPal account
To use any of the above features when creating payment buttons on the PayPal website, you
must enable JavaScript in your browser.
For more information, see “Enabling JavaScript in Your Browser” on page 179.