Solved

Paypal Error in Internet Explorer but not Mozilla Firefox

Posted on 2004-08-10
3
460 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
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…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

732 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