Solved

Paypal Error in Internet Explorer but not Mozilla Firefox

Posted on 2004-08-10
3
462 Views
Last Modified: 2013-11-19
I'm creating a form that prepopulates (PHP) values in Paypal. It works fine in Mozilla Firefox 0.9.3 (prepopulation and everything), but not in Internet Explorer 6.0.

The error message I get in IE is:
"We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem."

The form reads:
print '</td><td><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<INPUT TYPE="hidden" NAME="cmd" VALUE="_ext-enter">
<INPUT TYPE="hidden" NAME="redirect_cmd" VALUE="_xclick"
<input type="hidden" name="business" value="contact@mysite.org">
<input type="hidden" name="item_name" value="my org">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.xxx.com/~kd/">
<input type="hidden" name="cancel_return" value="http://www.xxx.com/~kd/">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="US">
<INPUT TYPE="hidden" NAME="first_name" VALUE="' . $cuser['~FIRST_NAME'] . '">
<INPUT TYPE="hidden" NAME="last_name" VALUE="' . $cuser['~LAST_NAME'] . '">
<INPUT TYPE="hidden" NAME="address1" VALUE="' . $cuser['~ADDRESS'] . '">
<INPUT TYPE="hidden" NAME="city" VALUE="' . $cuser['~CITY'] . '">
<INPUT TYPE="hidden" NAME="state" VALUE="CA">
<INPUT TYPE="hidden" NAME="zip" VALUE="' . $cuser['~ZIP'] . '">
<INPUT TYPE="hidden" NAME="email" VALUE="">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!"><input type="hidden" name="amount" value="' . preg_replace("/\$/","",$line['QARESP_RESP_TEXT']) . '"></form>';
                              

Anyone know why this would work in Firefox but not IE? I don't think it's a browser thing per se, since everything should work in IE... but what's wrong?
0
Comment
Question by:arabiafish
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Snarglius earned 500 total points
ID: 11768675
Hello,

isn't it possible that you get an error because of one not closed "input" tag? I mean

<INPUT TYPE="hidden" NAME="redirect_cmd" VALUE="_xclick"

should be

<INPUT TYPE="hidden" NAME="redirect_cmd" VALUE="_xclick">
0
 

Author Comment

by:arabiafish
ID: 11768744
...whoops. thanks :P
0
 
LVL 1

Expert Comment

by:Snarglius
ID: 11769535
:)
0

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question