Pre-Populate Your Customer's PayPal Sign-Up


Increase customer satisfaction by pre-populating your customer's PayPal payment pages.

If you already have collected your customer's contact information, you can pass it to PayPal to pre-populate the new PayPal member's sign-up page. The variables that let you pass customer contact information are listed below. Your customers’ PayPal sign-up pages will be pre-populated with the information that you pass, but customers can edit it before they sign up.


first_nameFirst name (Alpha numeric characters only. Max. length = 32)
last_nameLast name (Alpha numeric characters only. Max. length = 64)
address1Street (1 of 2 fields) (Alpha numeric characters only. Max. length = 100)
address2Street (2 of 2 fields) (Alpha numeric characters only. Max. length = 100)
cityCity (Alpha numeric characters only. Max. length = 100)
stateState (Must be 2 character official abbreviation)
zipZip (Numeric char. only. Max. length = 32 characters)
countrySets the shipping and billing country.
emailEmail address. (Max. length = 127)
night_phone_aThe area code for U.S. phone numbers, or the country code for non-U.S. phone numbers. This will pre-populate the buyer's home phone number. (Numeric characters only. Max. length = 3)
night_phone_bThe 3-digit prefix for U.S. phone numbers, or the entire phone number for non-U.S. phone numbers, excluding country code. This will pre-populate the buyer's home phone number. (Numeric characters only. Max. length = 16)
night_phone_cThe 4-digit phone number for U.S. phone numbers. This will pre-populate the buyer's home phone number. (Numeric characters only. Max. length = 4)


The following sample HTML code shows how to include the optional pre-population variables in the code of your payment buttons. The variables and their values need to be generated dynamically by your website and included in the URL to which you send buyers when they try to make a PayPal payment.

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

<FORM ACTION="https://www.paypal.com/cgi-bin/webscr" METHOD="POST">
<INPUT TYPE="hidden" NAME="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="image" NAME="submit" BORDER="0" SRC="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" ALT="PayPal - The safer, easier way to pay online">
<img alt="" border="" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif">

</FORM>