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. 32
last_nameLast name (Alpha numeric characters only. Max. 64
address1Street (1 of 2 fields) (Alpha numeric characters only. Max. 100
address2Street (2 of 2 fields) (Alpha numeric characters only. Max. 100
cityCity (Alpha numeric characters only. Max. 100
stateState/province/county
zipPostcode
countrySets the delivery and billing country.
emailEmail address. (Max. 127
night_phone_aThe area code for US phone numbers, or the country code for non-US phone numbers. This will pre-populate the buyer's home phone number. (Numeric characters only. Max. 3
night_phone_bThe three-digit prefix for US phone numbers, or the entire phone number for non-US phone numbers, excluding country code. This will pre-populate the buyer's home phone number. (Numeric characters only. Max. 16


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.co.uk">
<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="GBP">
<INPUT TYPE="hidden" NAME="first_name" VALUE="John">
<INPUT TYPE="hidden" NAME="last_name" VALUE="Deering">
<INPUT TYPE="hidden" NAME="address1" VALUE="60Queen Victoria">
<INPUT TYPE="hidden" NAME="address2" VALUE="Apt 5">
<INPUT TYPE="hidden" NAME="city" VALUE="Northfleet">
<INPUT TYPE="hidden" NAME="state" VALUE="Kent">
<INPUT TYPE="hidden" NAME="zip" VALUE="DA11 7DF">
<INPUT TYPE="hidden" NAME="lc" VALUE="GB">
<INPUT TYPE="hidden" NAME="email" VALUE="buyer@domain.co.uk">
<INPUT TYPE="hidden" NAME="night_phone_a" VALUE="44">
<INPUT TYPE="hidden" NAME="night_phone_b" VALUE="1,234,123,456">
<INPUT TYPE="image" NAME="submit" BORDER="0" SRC="http://www.paypal.com/en_GB/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_GB/i/scr/pixel.gif">

</FORM>