• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 480
  • Last Modified:

Paypal Error in Internet Explorer but not Mozilla Firefox

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?
  • 2
1 Solution

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">
arabiafishAuthor Commented:
...whoops. thanks :P
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now