Contents
4 November 2005
Adding Your Credit Card Statement Name . . . . . . . . . . . . . . . . . . . . . . . . . 49
Getting Customer Contact Telephone Numbers . . . . . . . . . . . . . . . . . . . . . . . 49
Language Encoding Your Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Multi-User Access to Your PayPal Account . . . . . . . . . . . . . . . . . . . . . . . . . 55
PayPal-Supported Currencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Accepting or Denying Cross-Currency Payments . . . . . . . . . . . . . . . . . . . . 57
Managing Currency Balances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Issuing Refunds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Chapter 3 Single-Item Payment: Buy Now and Donations . . . . . . . 61
Using Buy Now or Donations Button Factory . . . . . . . . . . . . . . . . . . . . . . . . 61
Adding More Details to the Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Copy and Paste the HTML Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Sample Buy Now Button HTML and Hyperlink . . . . . . . . . . . . . . . . . . . . . . . . 65
Chapter 4 Multiple-Item Payment: Shopping Cart . . . . . . . . . . . 67
How the PayPal-Hosted Shopping Cart Works . . . . . . . . . . . . . . . . . . . . . . . 67
What The Customer Sees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Button Factory for PayPal-Hosted Shopping Cart . . . . . . . . . . . . . . . . . . . . . . 72
Adding More Details to the Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Copy and Paste the Shopping Cart HTML. . . . . . . . . . . . . . . . . . . . . . . . 74
Sample HTML for PayPal-Hosted Shopping Cart . . . . . . . . . . . . . . . . . . . . . . 75
How A Third-Party Shopping Cart Works . . . . . . . . . . . . . . . . . . . . . . . . . . 76
What The Customer Sees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
What You See . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Adding PayPal to Your Third-party Shopping Cart . . . . . . . . . . . . . . . . . . . . . . 82
Required Third-Party Shopping Cart Variables . . . . . . . . . . . . . . . . . . . . . 82
Passing Individual Item Details to PayPal . . . . . . . . . . . . . . . . . . . . . . . . 82
Setting the Tax for the Entire Cart. . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Passing the Aggregate Shopping Cart Amount to PayPal. . . . . . . . . . . . . . . . 83
Chapter 5 Encrypted Website Payments . . . . . . . . . . . . . . . . 85
Creating Your Public Certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Creating Your Private Key Using OpenSSL . . . . . . . . . . . . . . . . . . . . . . . 86
Creating Your Public Certificate Using OpenSSL . . . . . . . . . . . . . . . . . . . . 86
Uploading Your Public Certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87