Hi, We got recently an error message on all our Authorize.net transactions. It used to work fine and haven’t upgraded. The error message: Fatal error: Cannot redeclare class AuthorizeNetException in ******.com/wp-content/plugins/event-espresso/gateways/aim/AuthorizeNet.php on line 24 Any ideas? Thanks.
Are you using another plugin that uses the Authorize.net library? You can get around the problem by renaming the exception class on line 24 of /aim/AuthorizeNet.php to EEAuthorizeNetException and renaming it on line 310 of /aim/lib/AuthorizeNetAIM.php.
I think this is the exact problem we are having. I found the same error in our log files, and our Authorize.net just stopped working
Sidney-is there a patch coming out that fixes this problem? We used to use GF Authorize.net but haven’t for a long time and it isn’t active on our system. Why can’t event espresso just use unique class names?
Patrick – Would you mind being specific about what you changed so I can replicate it?
I don’t remember every file I changed. I compressed the ‘aim’ folder under > wp-content\plugins\event-espresso\gateways\ – You can download it here
You can either replace the entire folder or use a file compare program to find all the changes we did which is basically renamed some functions.
Wow thanks for helping me out. I downloaded the file. I’ll see if it works.
Thank you,
Thomas
Viewing 5 reply threads
The support post ‘Authorize net 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.
Support forum for Event Espresso 3 and Event Espresso 4.