?
Solved

Paypal Error in Internet Explorer but not Mozilla Firefox

Posted on 2004-08-10
3
Medium Priority
?
464 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.
Suggested Courses

743 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