Support

Home Forums Event Espresso Premium WooCommerce and USA Epay conflict

WooCommerce and USA Epay conflict

Posted: January 17, 2014 at 7:37 pm

Viewing 3 reply threads


tmcmahan

January 17, 2014 at 7:37 pm

I know I can’t expect support for two different plugins but does anyone have any experience resolving a conflict with WooCommerce and USA epay. I’m running a store and an event registration on my site. I get the following error

Fatal error: Cannot redeclare umVerifyCreditCardNumber() (previously declared in //wp-content/plugins/woocommerce-gateway-usa-epay/usaepay.php:1229) in //wp-content/plugins/event-espresso/gateways/usaepay_onsite/EE_Usaepay.class.php on line 1302


Josh

  • Support Staff

January 17, 2014 at 8:48 pm

Hi there,

What you can do is open up /event-espresso/gateways/usaepay_onsite/EE_Usaepay.class.php
and add one line of code before line 1229:

if ( ! function_exists('umVerifyCreditCardNumber' ) ) {

Then be sure to add a closing bracket just after the closing bracket that closes the function that’s around line 1302.

}

This will check and make sure the function isn’t defined elsewhere before it tries to define it.


tmcmahan

January 17, 2014 at 9:12 pm

Thanks!

I also had to do the same for the _uePhpLibPrivateXMLEntities function on line ~1307


Dean

January 20, 2014 at 1:32 am

Thanks for the feedback! We will raise a ticket to look into this for future updates.

Viewing 3 reply threads

The support post ‘WooCommerce and USA Epay conflict’ 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