• Resolved kevinang

    (@kevinang)


    Hi,

    I am helping my client who is using WooCommerce with PayPal Pro, Wirecard and MCPayments Amex payment gateways. The different currencies worked well in the checkout page, and showed well in the hosted pages of the different payment gateways.

    However, after the order was completed, the order email was sent out to the customer. The order email did not reflect the right currency and was very erratic. For the Wirecard plugin, it did not display US$ or S$ but only showed $ – verified with test & live payment transactions.

    We are using the default WooCommerce order emails. Please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi Kevin, did you add some code to add US and S to currency symbol?

    Thread Starter kevinang

    (@kevinang)

    HI Oscar,

    I didn’t do any modification to the source code. I merely defined it within the configuration – S[symbol][price]

    Plugin Author Oscar Gare

    (@oscargare)

    then for all currencies always diplay the “S” char, eg, for USD: S$99.99 and for SGD S$99.99.
    You set [code][symbol][price] for display the currency code in price.

    Note for support: This is a option included in premium version https://www.pricebasedcountry.com/

    • This reply was modified 7 years, 10 months ago by Oscar Gare.
    Plugin Author Oscar Gare

    (@oscargare)

    Resolved by premium support.

    Hey Oscar,

    Though this thread is old now, however my issue is the same.

    My store base location is India with currency as Indian Rupee (?). The default WooCoommerce symbol for Indian currency is INR which I have overridden by adding new function in functions.php

    add_filter('woocommerce_currency_symbol', 'inr_currency_symbol', 10, 2);
    function inr_currency_symbol( $currency_symbol, $currency ) {
        switch( $currency ) {
            case 'INR': $currency_symbol = '₹';
            break;
        }
        return $currency_symbol;
    }

    Now in all order emails, the currency appears to be in Indian Rupee (?) instead of billing country currency which I have defined in zones.

    Please suggest. Thanks!
    Abhishek

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrong Currency shown in order emails’ is closed to new replies.