Solved

Paypal Error in Internet Explorer but not Mozilla Firefox

Posted on 2004-08-10
3
444 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
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Snarglius earned 500 total points
Comment Utility
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
Comment Utility
...whoops. thanks :P
0
 
LVL 1

Expert Comment

by:Snarglius
Comment Utility
:)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
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.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now