Support

Home Forums Event Espresso Premium USA ePAY gateway 500 error

USA ePAY gateway 500 error

Posted: August 30, 2013 at 7:50 am


Shane Petersen

August 30, 2013 at 7:50 am

Hello,
I don’t know why I got this on my site, I already set it force to SSL but when I pressed complete purchase, it get 500 internal error.
Can you please help?

Thanks


Josh

  • Support Staff

August 30, 2013 at 7:53 am

Hi Shane,

You’ll need to set it to not force SSL as your website doesn’t appear to have an SSL certificate installed for the website’s domain.


Shane Petersen

August 30, 2013 at 8:10 am

Hi Josh,
But we already setup SSL for our site.


Josh

  • Support Staff

August 30, 2013 at 9:08 am

Can you do: https://yoursite.com ?

The siteurl associated with your Event Espresso account doesn’t seem to.


Shane Petersen

August 30, 2013 at 9:50 am

https://www.redrockfirearmstraining.com, it is working now


Josh

  • Support Staff

August 30, 2013 at 10:04 am

Hi Shane,

Internal server errors can be troubleshot using this guide in the documentation:

https://eventespresso.com/wiki/troubleshooting-event-espresso/#wsod

Is there a support license for this site under a different account? Your account is tied to http://www.brokenarrowtacticaltraining.com.


Shane Petersen

August 30, 2013 at 10:06 am

We are running wordpress multisite and http://www.brokenarrowtacticaltraining.com is main site


Shane Petersen

August 30, 2013 at 10:12 am

I got this: Cannot redeclare umverifycreditcardnumber() in /mnt/stor12-wc2-dfw1/601584/822823/www.redrockfirearmstraining.com/web/content/wp-content/plugins/event-espresso/gateways/usaepay_onsite/EE_Usaepay.class.php on line 1229


Josh

  • Support Staff

August 30, 2013 at 10:44 am

Hi Shane,

Event Espresso only declares this function once and it’s wrapped in a class prefixed with Event Espresso. Is Event Espresso network activated twice? Along with that, Event Espresso should be activated on a per site basis (it is not network-activated compatible).

As an aside, in order to receive support for each site on your multisite installation we ask that each site has a support license.


Shane Petersen

August 30, 2013 at 9:48 pm

Josh,
I deactivated network-activated and just actived for only 1 site but it still get problem, can you please help?

Thanks


Sidney Harrell

September 2, 2013 at 11:45 am

If you can go into plugins/event-espresso/gateways/usaepay_onsite/usaepay_onsite_vars.php and replace lines 15-19 with:

$home = get_permalink($org_options['return_url']);
$home = add_query_arg('r_id', $registration_id, $home);

and then replace what will then be line 36 with:

<form id="usaepay_onsite_payment_form" name="usaepay_onsite_payment_form" method="post" action="<?php echo $home; ?>">

It should keep the page that the CC form submits to from redirecting, which appears to be why you are getting the server error. It may be some kind of interaction with the htaccess file for the multisite installation.


Shane Petersen

September 11, 2013 at 4:51 am

Hello,
It seem to be okay since it comes to thank you page, but it is blank ><
https://www.brokenarrowtacticaltraining.com/thank-you/?r_id=8-52304ab2a7a8d if I refresh, it show thank you page okay

Thanks


Josh

  • Support Staff

September 11, 2013 at 8:24 am

Hi Shane,

It might help to update to the latest version from 3.1.33.3P. There have been a few refinements to the gateways since then. You will likely need to re-apply Sidney’s fix to the new version’s /usaepay_onsite_vars.php after the update.


Shane Petersen

September 11, 2013 at 9:03 am

Hi Josh,
I already updated to the lastest Version 3.1.33.3.P and applied Sysney’s fix but it still go to blank page ><

Thanks


Josh

  • Support Staff

September 11, 2013 at 11:31 am

Hi Shane,

Event Espresso 3.1.35 is the latest version of Event Espresso.


Shane Petersen

September 11, 2013 at 9:59 pm

Hi Josh,
I updated the latest version 3.1.35 but it still not fix, it still goes to blank page after submit.
You can check it at: http://www.brokenarrowtacticaltraining.com/training-calendar/

Thanks


Josh

  • Support Staff

September 17, 2013 at 12:06 pm

Did you re-apply Sidney’s fix?

Are there any errors logged in the PHP error logs when the blank page loads?

The support post ‘USA ePAY gateway 500 error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso