Forums » Plugin: WooCommerce Eway Gateway » Bug in the plugin

  • I’ve been emailing WooCommerce about this bug for about 6 months. Big shame on WooCommerce for not taking care of this issue.

    Despite several update releases from them, it is still yet to be fixed, so here is the bug and the fix.

    When using with a multi-currency site, you will get problems with payments and the amounts charged. To fix it:

    /plugins/woocommerce-gateway-eway/includes/class-wc-eway-api.php on line 203.

    ‘CurrencyCode’ => get_woocommerce_currency(),

    Should be this:
    ‘CurrencyCode’ => $pre_wc_30 ? $order->get_order_currency() : $order->get_currency(),

  • The topic ‘Bug in the plugin’ is closed to new replies.