Integration Guide

Table Of Contents
Contents
4 September 2008 Website Payments Standard Integration Guide
Avoiding Problems With Pasted HTML Code . . . . . . . . . . . . . . . . . . . . . . 61
Sample HTML Code for Buy Now Buttons . . . . . . . . . . . . . . . . . . . . . . . . . 61
Sample HTML Code for a Basic Buy Now Button . . . . . . . . . . . . . . . . . . . . 61
Sample HTML Code for Buy Now Buttons With Product Options . . . . . . . . . . . . 62
Sample HTML Code for a Buy Now Button that Prompts for Quantities. . . . . . . . . 66
Sample URL Code for a Buy Now Email Payment Link . . . . . . . . . . . . . . . . . . . 67
Chapter 2 Contribution Payments – Donate Buttons . . . . . . . . . .69
Getting Started With Donate Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Using the Button Creation Tool for a Basic Donate Button . . . . . . . . . . . . . . . 70
Creating Basic Donate Buttons With JavaScript Disabled. . . . . . . . . . . . . . . . 71
Creating Donate Buttons Before You Create Your PayPal Account . . . . . . . . . . . 74
The Checkout Experience With Donate Buttons . . . . . . . . . . . . . . . . . . . . . . . 76
Begin – Donors are Ready to Contribute on Your Website . . . . . . . . . . . . . . . 77
1 – Donors Enter Their Billing Information or They Log In to PayPal . . . . . . . . . . 78
2 – Donors Confirm Their Contribution Details Before Paying. . . . . . . . . . . . . . 80
3 – Donors View and Print Their PayPal Contribution Confirmations . . . . . . . . . . 81
End – Donors Receive Contribution Authorization Notices by Email . . . . . . . . . . 82
Enhancing the Checkout Experience With Donate Buttons . . . . . . . . . . . . . . . 83
Managing Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Using Email Notices to Track Donate Transactions . . . . . . . . . . . . . . . . . . . 85
Using Recent Activity to Track Donate Transactions . . . . . . . . . . . . . . . . . . 85
Using Transaction History to Track Donate Transactions . . . . . . . . . . . . . . . . 86
Using Downloadable History Logs to Track Donate Transactions . . . . . . . . . . . . 86
Using Instant Payment Notification to Track Donate Transactions . . . . . . . . . . . 86
Creating Advanced Donate Buttons on the PayPal Website. . . . . . . . . . . . . . . . . 87
Generating Code for Payment Buttons and Email Payment Links . . . . . . . . . . . 87
Protecting HTML Code for Payment Buttons . . . . . . . . . . . . . . . . . . . . . . 87
Using the Button Creation Tool for Advanced Donate Buttons . . . . . . . . . . . . . 87
Creating Advanced Donate Buttons With JavaScript Disabled . . . . . . . . . . . . . 97
Avoiding Problems With Pasted HTML Code . . . . . . . . . . . . . . . . . . . . . .104
Sample HTML Code for Donate Buttons . . . . . . . . . . . . . . . . . . . . . . . . . .104
Sample HTML Code for a Basic Donate Button . . . . . . . . . . . . . . . . . . . . .105
Sample HTML Code for a Donate Button With a Fixed Contribution Amount . . . . . .105