Log Out | Help

My Account Send Money Request Money Merchant Tools Auction Tools

Pre-Populate Your Customer's PayPal Sign-Up
Increase your sales by pre-populating your customer's PayPal payment pages.

If you have already collected your customer's information, you can pass this information to PayPal to pre-populate the first page of a new customer's sign-up. The fields and parameters are listed below. You can pass all or none of this data. While your customer's sign-up page will be pre-populated, it will still be editable.

To pass this information to the PayPal payment pages, post the variable name and the associated data to PayPal in the HTML in the form of "variable name = value". You will also need to change your cmd value to '_ext-enter' and add a new variable, 'redirect_cmd', whose value should be '_xclick'. Please see the sample code below for an example.

 
first_name First name (Alpha numeric char. only. Max. length = 32)
last _name Last name (Alpha numeric char. only. Max. length = 64)
address1 Street (1 of 2 fields) (Alpha numeric char. only. Max. length = 100)
address2 Street (2 of 2 fields) (Alpha numeric char. only. Max. length = 100)
city City (Alpha numeric char. only. Max. length = 100 )
state State (Must be 2 character official abbreviation)
zip Zip (Numeric char. only. Max. length = 32 characters)
lc Country
email Email address
night_phone_a Home phone (1 of 3 fields) (Numeric char. only. Max. length = 3 characters)
night_phone_b Home phone (2 of 3 fields) (Numeric char. only. Max. length = 3 characters)
night_phone_c Home phone (3 of 3 fields) (Numeric char. only. Max. length = 4 characters)
day_phone_a Work phone (1 of 3 fields) (Numeric char. only. Max. length = 3 characters)
day_phone_b Work phone (2 of 3 fields) (Numeric char. only. Max. length = 3 characters)
day_phone_c Work phone (3 of 3 fields) (Numeric char. only. Max. length = 4 characters)


The following sample HTML code 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.

The fields shown in red are the pre-population fields.

The fields listed above would generate this HTML link, which would pre-populate your customer's PayPal payment pages. The optional pre-population fields (shown in red) pass this information to the PayPal payment pages, post the variable name and the associated data to PayPal in the HTML in the form of "variable name = value".

<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="recipient@paypal.com">
<INPUT TYPE="hidden" NAME="undefined_quantity" VALUE="1">
<INPUT TYPE="hidden" NAME="item_name" VALUE="hat">
<INPUT TYPE="hidden" NAME="item_number" VALUE="123">
<INPUT TYPE="hidden" NAME="amount" VALUE="15.00">
<INPUT TYPE="hidden" NAME="shipping" VALUE="1.00">
<INPUT TYPE="hidden" NAME="shipping2" VALUE="0.50">
<INPUT TYPE="hidden" NAME="currency_code" VALUE="USD">
<INPUT TYPE="hidden" NAME="first_name" VALUE="John">
<INPUT TYPE="hidden" NAME="last_name" VALUE="Doe">
<INPUT TYPE="hidden" NAME="address1" VALUE="9 Elm Street">
<INPUT TYPE="hidden" NAME="address2" VALUE="Apt 5">
<INPUT TYPE="hidden" NAME="city" VALUE="Berwyn">
<INPUT TYPE="hidden" NAME="state" VALUE="PA">
<INPUT TYPE="hidden" NAME="zip" VALUE="19312">
<INPUT TYPE="hidden" NAME="lc" VALUE="US">
<INPUT TYPE="hidden" NAME="email" VALUE="buyer@domain.com">
<INPUT TYPE="hidden" NAME="night_phone_a" VALUE="610">
<INPUT TYPE="hidden" NAME="night_phone_b" VALUE="555">
<INPUT TYPE="hidden" NAME="night_phone_c" VALUE="1234">
<INPUT TYPE="hidden" NAME="day_phone_a" VALUE="610">
<INPUT TYPE="hidden" NAME="day_phone_b" VALUE="555">
<INPUT TYPE="hidden" NAME="day_phone_c" VALUE="1222">
<INPUT TYPE="image" SRC="http://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!>