Support

Home Forums Event Espresso Premium AuthorizeNet Exception

AuthorizeNet Exception

Posted: February 4, 2013 at 12:23 pm


Thomas Servis

February 4, 2013 at 12:23 pm

Upon entering CC info for an event and clicking “Complete Purchase” I receive the following error:

Fatal error: Cannot redeclare class AuthorizeNetException in /wp-content/plugins/event-espresso/gateways/aim/AuthorizeNet.php on line 24

Events have been up and running without issue for several months prior. I also use Authorize.Net gateway elsewhere on the site to process donations.

Any advice on what may be causing this would be greatly appreciated.

Thanks.
Tom


Jonathan Wilson

February 5, 2013 at 10:51 am

Hello Thomas,

If there is another plugin that has an Authorize.net gateway installed that is declaring the same Authnet class that Event Espresso uses, you can work around the issue by prefixing the authnet classes in the Event Espresso Aim gateway.

Here is a link to download a modified version of the AIM gateway: download here

You can unzip and drop the AIM directory into /wp-content/uploads/espresso/gateways, so it looks like: /wp-content/uploads/espresso/gateways/aim

You may need to deactivate and reactivate the AIM gateway for the changes to take affect.

The support post ‘AuthorizeNet Exception’ 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