Jump to content


Photo

trouble with single payer data upload


  • This topic is locked This topic is locked
1 reply to this topic

#1 radthots

radthots

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 October 2003 - 06:57 PM

I'm uploading a single item transaction and trying to populate the payer's paypal login. WHat hapens is that paypal sticks my email address "business" in the login field, it gets the totals and amounts right, but does not populate any of the payer address data. what gives?


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

<input type="hidden" name="cmd" value="_ext-enter">
<input type="hidden" name="redirect_cmd" value="_xclick">
<input type="hidden" name="currency_code" value="USD">";
<input type="hidden" name="lc" value="US">";

<input type="hidden" name="business" value ="me@email.com">
<input type="hidden" name="item_name" value="Order total">

<input type="hidden" name="no_note" value = "1">
<input type="hidden" name="no_shipping" value = "1">
<input type="hidden" name="shipping" value = "shipTotal">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="amount" value = "subTotal">

<input type="hidden" name="first_name" value="custFirst">
<input type="hidden" name="last_name" value="custLast">
<input type="hidden" name="address1" value = "custAdd1">
<input type="hidden" name="address2" value = "custAdd2">
<input type="hidden" name="city" value="custCity">
<input type="hidden" name="state" value="custState">
<input type="hidden" name="zip" value="custZip">
<input type="hidden" name="upload" value="1">

</form>

<script type="text/javascript" language="JavaScript"> this.document.order.submit(); location.href = "baseUrl/index.php?paypal=1" </script> ;


#2 paypal_robert

paypal_robert

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 10 October 2003 - 09:43 PM

Hello,

I'm not sure precisely what actions you are taking to test the code,
but what you should be doing is this.

1. Clear ALL cookies from the machine and close all active PayPal windows. (The PayPal system is cookie based and if there is a cookie still on the machine based on your PayPal account activity it can mess up your test.)

2. Test your button (for Frontpage, copy code, paste special, treat as HTML, preview). If it does not work properly try cicking on the new account setup button. (But if your code is ok, and you got all the cookies, it should.)





Robert
PayPal Tech Support
PayPal, an eBay Company




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users