User's Manual
Table Of Contents
- Preface
- Introduction
- PayPal Payments Overview
- Getting Started
- PayPal Account Optional
- Creating Buy Now and Donation Buttons
- Creating Shopping Cart Buttons
- Adding PayPal to Your Third- party Shopping Cart
- Custom Payment Pages
- Calculating Shipping, Handling, and Tax
- Creating Customer Contact Telephone
- Auto Return
- Backend Integration - Payment Notifications
- Using Multiple Currencies
- Language Encoding for Your Data
- Testing
- Processing eChecks
- Security
- HTML Samples
- IPN and PDT Variables
- About These Tables of Variables
- test_ipn Variable in Sandbox
- IPN Variables in All Posts
- Buyer Information
- Basic Information
- Advanced and Custom Information
- Shopping Cart Information
- Currency and Currency Exchange
- Auctions
- Mass Payment
- Subscriptions Variables
- Dispute Notification Variables
- PDT-Specific Variables
- Country Codes
Merchant User Manual and Integration Guide May, 2005 143
HTML Samples
Prepopulating Your Customer’s PayPal Sign-Up
A
Sample HTML
The following sample HTML shows how the optional pre-population fields would be included
in your payment buttons. The field entries would need to be dynamically generated by your
website and included in the URL to which your customers are sent when they try to make a
PayPal payment.
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”POST”>
<input type=”hidden” name=”cmd” value=”_ext-enter”>
<input type=”hidden” name=”redirect_cmd” value=”_xclick”>
<input type=”hidden” name=”business” value=”amyrowe@x.com”>
business_
state
Alphanumeric 2
business_
zip
Numeric 5
business_
country
Alphabetic 2
business_
cs_email
Alphanumeric 128
business_cs
_phone_a
Numeric 3
business_
cs_phone_b
Numeric 3
business_
cs_phone_c
Numeric 4
business_
url
Alphanumeric 128
business_
night_phone
_a
The area code for U.S. phone numbers, or
the country code for non-U.S. phone
numbers. This will prepopulate the
buyer’s home phone number.
Numeric 3
business_
night_phone
_b
The 3-digit prefix for U.S. phone
numbers, or the entire phone number for
non-U.S. phone numbers, excluding
country code. This will prepopulate the
buyer’s home phone number.
Numeric 3
business_
night_phone
_c
The 4-digit phone number for U.S. phone
numbers. This will prepopulate the
buyer’s home phone number.
Numeric 4
T
ABLE A.6 Prepopulation Variables for Account Signup
Variable Value Requirements
Character
Limit