Integration Guide

Table Of Contents
Contents
6 September 2008 Website Payments Standard Integration Guide
Sample HTML Code for an Unsubscribe Button. . . . . . . . . . . . . . . . . . . . .171
Sample HTML Code for a Subscribe Button With Password Management . . . . . . .172
Sample HTML Code for a Subscribe Button That Reattempts Payments . . . . . . . .172
Sample URL Code for Subscribe Email Payment Links . . . . . . . . . . . . . . . . . . .173
Chapter 4 The PayPal Shopping Cart – Add to Cart and View Cart
Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Getting Started With The PayPal Shopping Cart. . . . . . . . . . . . . . . . . . . . . . .176
Getting Started With Add To Cart Buttons . . . . . . . . . . . . . . . . . . . . . . . .176
Getting Started With View Cart Buttons . . . . . . . . . . . . . . . . . . . . . . . . .183
The Checkout Experience With the PayPal Shopping Cart . . . . . . . . . . . . . . . . .191
Begin – Buyers Add Your Items to the PayPal Shopping Cart. . . . . . . . . . . . . .193
1 – Buyers Enter Their Billing Information or They Log In To PayPal . . . . . . . . . .194
2 – Buyers Confirm Their Transaction Details Before Paying . . . . . . . . . . . . . .196
3 – Buyers View and Print Their PayPal Payment Confirmations . . . . . . . . . . . .197
End – Buyers Receive Payment Authorization Notices by Email . . . . . . . . . . . .198
Enhancing the Checkout Experience With Add to Cart Buttons . . . . . . . . . . . . .200
Managing PayPal Shopping Cart Transactions . . . . . . . . . . . . . . . . . . . . . . .201
Using Email Notices to Track PayPal Shopping Cart Transactions . . . . . . . . . . .201
Using Recent Activity to Track PayPal Shopping Cart Transactions . . . . . . . . . .202
Using Transaction History to Track PayPal Shopping Cart Transactions . . . . . . . .202
Using Downloadable History Logs to Track PayPal Shopping Cart Transactions . . . .203
Using Instant Payment Notification to Track PayPal Shopping Cart Transactions . . .203
Advanced Features of Add to Cart Buttons . . . . . . . . . . . . . . . . . . . . . . . . .203
Offering Product Options With Add to Cart Buttons . . . . . . . . . . . . . . . . . . .203
Creating Advanced PayPal Shopping Cart Buttons on the PayPal Website. . . . . . . . .204
Generating Code for Payment Buttons and Email Payment Links . . . . . . . . . . .204
Protecting HTML Code for Payment Buttons . . . . . . . . . . . . . . . . . . . . . .204
Pricing Items in Multiple Currencies . . . . . . . . . . . . . . . . . . . . . . . . . . .205
Working with View Cart Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205
Using the Button Creation Tool for Advanced Add to Cart Buttons . . . . . . . . . . .205
Creating Advanced Add to Cart Buttons With JavaScript Disabled . . . . . . . . . . .220
Avoiding Problems With Pasted HTML Code . . . . . . . . . . . . . . . . . . . . . .228
Sample HTML Code for Add to Cart Buttons . . . . . . . . . . . . . . . . . . . . . . . .228
Sample HTML Code for a Basic Add to Cart Button. . . . . . . . . . . . . . . . . . .229
Sample HTML Code for Add to Cart Buttons With Product Options. . . . . . . . . . .229
Sample HTML Code for Add to Cart Buttons that Open the Shopping Cart in the Merchant
Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .233
Sample HTML Code for Add to Cart Buttons that Continue Shopping on the Current
Merchant Webpage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .236