The following sample HTML code shows how a number of the pre-populated fields (shown in red) are included in your payment buttons. This information is passed to payment pages by posting the variable name and the associated data in the form of "variable name = value".
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" 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!>
</FORM>
Note: When address override is set to 1, the address passed in via pre-population fields overrides the user's stored address. The user can view only the passed-in address. If the address is invalid or excluded, the address isn't displayed. See HTML Variables for PayPal Payments Standard for more information about pre-populating PayPal checkout pages.