My favorites | Sign in
Project Home
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 318: Paypal issue with IE9 when using additional text fields
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Dec 2012


Sign in to add a comment
 
Reported by IvorBri...@gmail.com, May 16, 2012
I'm having a problem with using Paypal buttons as part of the Event description with IE9 . It works fine with Firefox and other browsers - but the submit doesn't happen on IE9.

I create the paypal button using the functionality on the paypal site. If its a plain Buy Now button - it works. It only fails in IE9 if you add an additional text field. Paypal generates a table by default but I've simplified down to the following:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="zzzzzz">

<input type="hidden" name="on0" value="Person attending"/>
<div>Person attending <input type="text" name="os0" maxlength="200"/></div>

<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>

Using this in an event description fails to post on IE9.
If you remove the div tags - it does work.
e.g. the following works:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="zzzzzz">

<input type="hidden" name="on0" value="Person attending"/>
Person attending <input type="text" name="os0" maxlength="200"/>

<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>

The payal generated button (i.e. including divs etc) works fine on 
a regular wordpress page - it only fails when used on an event.

I am using ajax event calendar 1.0.2 and wordpress 3.2.1. I can't currently move to the latest version of wordpress.

Any ideas?



May 17, 2012
Project Member #1 eranmmil...@gmail.com
You can fix this issue by editing show-event.php...
I have confirmed that if you replace all the html "p" tags with "div" tags and your buttons will work in IE.

Interestingly, modern browsers (firefox and chrome) are more forgiving than IE9 when it comes to nesting <div>s inside of <p>s.

If you're uncomfortable changing the code yourself, a beta of the next plugin release is scheduled to be available in the next month and the official release will likely follow a month thereafter.  I will apply this fix to the next release.

Hope this helps!
Status: WorkAround
May 18, 2012
#2 IvorBri...@gmail.com
This work around seems to work well for me. I had a slight UI glitch in Firefox at the bottom of the popup (the popup wasn't quite big enough for all the contents) but I managed to improve it slightly by adding a <br/> when it writes the contact info

Many thanks for your quick response..
Jun 19, 2012
Project Member #3 eranmmil...@gmail.com
A beta release of the plugin will be made available in the next month, and announced on this site in the coming weeks.  This fix will be included.
Status: Started
Dec 17, 2012
Project Member #4 eranmmil...@gmail.com
fixed in v1.0.4
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting