- Status
- Resolved
- Reported for
- WPML Multilingual & Multicurrency for WooCommerce 5.3.3.1
- Resolved in
- WCML 5.3.4
- Topic tags
- WCML
Overview of the issue
An issue has been identified in WPML Multilingual & Multicurrency for WooCommerce where all Bank Account (BACS) details are displayed on the order confirmation page, regardless of the specific account settings configured for different currencies
Workaround
Please, make sure of having a full backup of your site before proceeding.
- Open …/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php file.
- Look for line 38.
- Replace:
add_filter( 'woocommerce_payment_gateways', Fns::tap( function() { add_action( 'wp_loaded', [ $this, 'init_gateways' ] ); } ) ); - With:
add_action( 'wp_loaded', [ $this, 'init_gateways' ] );