paypal address1 HTML name doensnt work?

Posted by ajsie on Stack Overflow See other posts from Stack Overflow or by ajsie
Published on 2010-04-01T12:50:24Z Indexed on 2010/04/01 12:53 UTC
Read the original article Hit count: 447

Filed under:

i use this code to send the customer to the paypals payment page:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type='hidden' name='cmd' value='_cart' />
<input type='hidden' name='upload' value='1' />
<input type="hidden" name="business" value="[email protected]">

<input type="hidden" name="currency_code" value="SEK">
<input type="hidden" name="return" value="http://freelanceswitch.com/payment-complete/">

<input type="hidden" name="item_number_1" value="01 - General Payment">
<input type="hidden" name="item_name_1" size="45">
<input type="hidden" name="amount_1" size="45">

<input type="hidden" name="item_number_2" value="01 - Bonus Payment">
<input type="hidden" name="item_name_2" size="45">
<input type="hidden" name="amount_2" size="45">

<!-- PREPOPULATING FIELDS -->
<input type='hidden' name='address1' value='Open Bridge street 19' />
<input type='hidden' name='address2' value='Easter heaven garden 12' />
<input type='hidden' name='first_name' value='Peter' />
<input type='hidden' name='last_name' value='Hansen' />

<input type="submit" name="Submit" value="Submit">

</form>

everything works except the address1 and address2 in PREPOPULATING FIELDS.

the fields for the Billing Address Line 1 and Billing Address Line 2 are empty.

anyone knows why?

© Stack Overflow or respective owner

Related posts about paypal