J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Tue May 21, 2013 3:41 am

Paypal form not working

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Paypal form not working

Postby dnajera » Sat Nov 12, 2011 6:06 am

Hello,

I need some help adding a paypal form to a regular event. I'm using this code and the paypal button is not working.

Any help will be appreciated, thanks!


<form target="paypal" 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="xxxxxxxxx">
<table>
<tr><td><input type="hidden" name="on0" value="Category">Category</td></tr><tr><td><select name="os0">
<option value="San Diego Section Member">San Diego Section Member $28.00 USD</option>
<option value="Non-Member">Non-Member $43.00 USD</option>
<option value="Public Agency">Public Agency $18.00 USD</option>
<option value="Student">Student $18.00 USD</option>
<option value="Other">Other $18.00 USD</option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="Name:">Name:</td></tr><tr><td><input type="text" name="os1" maxlength="200"></td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_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_US/i/scr/pixel.gif" width="1" height="1">
</form>
dnajera
Posts: 3
Joined: Sat Nov 12, 2011 6:01 am

Re: Paypal form not working

Postby Geraint » Sat Nov 12, 2011 11:34 am

I would suggest that the paypal support forums would be a better place for advice on this one.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Paypal form not working

Postby dnajera » Sun Nov 13, 2011 12:44 am

I did, the problem seems to be that there is another <form> tag that is open and so the paypal form is nested inside. But when I add </form> to close it right above the paypal button, JEvents simply deletes that part of the code, so I'm unable to fix it.

Thanks in advance!
dnajera
Posts: 3
Joined: Sat Nov 12, 2011 6:01 am

Re: Paypal form not working

Postby Geraint » Sun Nov 13, 2011 10:52 am

When viewing the event detail there should be no form - where are you putting this button?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Paypal form not working

Postby dnajera » Sun Nov 13, 2011 11:23 pm

In a regular event detail page, here's the actual website:

http://www.asce-sd.org/login/asce-event ... -srm-.html

Thanks!
dnajera
Posts: 3
Joined: Sat Nov 12, 2011 6:01 am

Re: Paypal form not working

Postby Geraint » Mon Nov 14, 2011 11:46 am

There is only one form in the HTML of that page
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Google [Bot]

cron

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: Google [Bot]

Login Form