Integration Guide
Table Of Contents
- Preface
- How Website Payments Standard Works
- Using Your Merchant Account Profile and Tools
- The Account Profile Summary
- Branding PayPal’s Payment Pages
- Streamlining Purchases with Website Payment Preferences
- Blocking Certain Kinds of Payment
- Adding Your Credit Card Statement Name
- Getting Customer Contact Telephone Numbers
- Language Encoding Your Data
- Multi-User Access to Your PayPal Account
- PayPal-Supported Currencies
- Issuing Refunds
- Single-Item Payment: Buy Now and Donations
- Multiple-Item Payment: Shopping Cart
- Encrypted Website Payments
- Testing in the PayPal Sandbox
- Website Payments Standard HTML FORM Basics
- Website Payments Standard HTML Variables
- Country Codes
- Index
Website Payments Standard HTML FORM Basics
Instant Payment Notification: notify_url
7
96 November 2005 Website Payments Standard Checkout Integration Guide
<input type="hidden" name="add ress_override" value="1">
<!-- Set the prepopulation variables that override the stored address -->
<input type="hidden" name="fir st_name" value="John">
<input type="hidden" name="las t_name" value="Doe">
<input type="hidden" name="add ress1" value="345 Lark Ave">
<input type="hidden" name="city" value="San Jose">
<input type="hidden" name="state" value="CA">
<input type="hidden" name="zip" value="95121">
<input type="hidden" name="country" value="US">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-
but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's
fast, free and secure!">
</form>
Instant Payment Notification: notify_url
Instant Payment Notification consists of three parts:
1. A customer pays you.
2. PayPal POSTs FORM variables to a URL you specify that runs a program to process the
variables.
3. You validate the notification.
FIGURE 7.1 How IPN Works: Three General Steps
1. A customer payment or a refund triggers IPN. This payment can be via Website Payments
Standard FORMs or via the PayPal Web Services APIs for Express Checkout, MassPay, or