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
204 September 2008 Website Payments Standard Integration Guide
Specifying Product Options With Add to Cart Buttons
Do one of the following to create Add to Cart buttons that offer product options:
z Specify the product options when you create Add to Cart buttons by using the creation tool
on the PayPal website.
See Step 7 of “Step 1 – Specifying Basic Features of Your Add to Cart Button” on
page 207.
z Specify the product options in the HTML button code that you write manually.
See “Sample HTML Code for Add to Cart Buttons With Product Options” on page 229.
Creating Advanced PayPal Shopping Cart Buttons on the
PayPal Website
Read the following topics to learn more about creating Add to Cart buttons on the PayPal
website:
z “Generating Code for Payment Buttons and Email Payment Links” on page 204
z “Protecting HTML Code for Payment Buttons” on page 204
z “Pricing Items in Multiple Currencies” on page 205
z “Working with View Cart Buttons” on page 205
z “Using the Button Creation Tool for Advanced Add to Cart Buttons” on page 205
z “Creating Advanced Add to Cart Buttons With JavaScript Disabled” on page 220
Generating Code for Payment Buttons and Email Payment Links
When you create Add to Cart buttons with tools on the PayPal website, PayPal generates
HTML code for website payment buttons. Then, you copy and paste the HTML code onto the
pages of your website.
In addition to HTML code, PayPal generates URL code for email payment links. Use email
payment links to add Add to Cart functionality to your email messages. If your web editing
tool or your service provider does not allow you to paste HTML code onto your webpages,
you may be able to paste the URL code for email payment links onto your webpages instead.
Protecting HTML Code for Payment Buttons
When you create Add to Cart code with tools on the PayPal website, PayPal lets your protect
the HTML button code that it generates by encrypting part of it. Protecting the HTML code of
your payment buttons helps protect against malicious tampering and fraudulent payments.
IMPORTANT: Merchants with significant payment volume are required to take precautions
on securing Website Payments Standard buttons.