Support » Plugin: WooCommerce eWAY Gateway » Bug in the plugin

  • slightlychilled

    (@slightlychilled)


    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.

    This:
    ‘CurrencyCode’ => get_woocommerce_currency(),

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

  • You must be logged in to reply to this review.