eWAY Payment Gateway v4.3.3

eWAY Payment Gateway v4.3.3 has just been released. This release fixes a conflict with WooCommerce add-ons that load front end includes in the WordPress admin.

Cannot redeclare wc_add_notice

A couple of people reported getting the following error message when trying to edit a WooCommerce product:

The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

This was caused by some changes to the way WooCommerce loads its functions, and how this plugin caters for older versions of WooCommerce.

WooCommerce 3.6 tries to improve its performance by only loading front end code on the front end, and admin code in the admin. But some add-ons need some of the front end code to load in the admin, so they ask WooCommerce to load its front end code even in the admin.

The eWAY Payment Gateway has a compatibility layer where it defines some functions that older versions of WooCommerce don’t have. That’s where the conflict happened. A good spring-cleaning has fixed it now!

You can update to the latest version from your WordPress plugin admin page. Here’s the full changelog for eWAY Payment Gateway.