• Resolved Diego

    (@daigo75)


    We have received a report that, apparently, WooCommerce Payments interferes with the currency conversion features implemented by multi-currency plugins, such as the one we developed (Aelia Currency Switcher). Unfortunately, we don’t have the possibility to test WC Payments, because that service is not available in our country, therefore I thought of asking here if, by any chance, some currency conversion features were added to this payment gateway.

    If WooCommerce Payments does indeed include multi-currency feature, the next question would be how to disable it. There can only be one multi-currency plugin on any given site, and there are already tens of thousands of sites that use existing solutions (like ours, since 2013). If another conversion logic is added to an existing system, that will cause all sorts of issues, such as the wrong currency being selected, or the wrong prices being returned, do to a double conversion.

    Thanks in advance for your time.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @daigo75,

    by any chance, some currency conversion features were added to this payment gateway.

    Yes, WooCommerce Payments does support process payments in multiple currencies. You can find the development logs here

    You can choose to not use the multi-currency features provided by the plugin by setting WooCommerce payments to be processed in one currency. Details on how to do this are here.

    Thread Starter Diego

    (@daigo75)

    @simplysaru thanks for the confirmation. I would recommend to add the possbility to clearly and explicitly disable multi-currency features in the WooCommerce Payments plugin, as their presence is already causing confusion.

    For example, merchants who already use a multi-currency solution, now see a new “Multi-currency” tab in the WooCommerce settings, they go there thinking that they have to configure something, and then they see the site “misbehaving”, due to two multi-currency systems being active at the same time.

    To improve usability, the multi-currency option should be disabled by default, with some sort of checkbox to explicitly enable it (see equivalent option in WooCommerce Multilingual). That will ensure that the ecommerce keeps working normally, and prevent accidental issues caused by the merchant “tinkering” with the WC Payments settings.

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @daigo75

    Thanks for your recommendation.

    Personally, I think it’s helpful to have a note like if users already have a plugin doing multi-currency installed, then advise them to not adding multiple currencies on WooCommerce Payments setting, to avoid conflicts.

    If you want to have that option considered, I’d strongly suggest post a feature request on our official Ideas Board for WooCommerce Payments.

    I trust that points you in the right direction, so I’m going to mark this as resolved for now.

    Feel free to open a new thread if you have any other questions at all!

    Having been in this situation with both of these plugins I can say that there is no clear way to stop the Woocommerce Payments plugin from interfering with multi currency. If you alter the currency in the backend logged in as admin, the Payments plugin adds this selected currency as the default currency. It does take a lot of effort to sort this out and make sure you don’t get into trouble.

    The new version of Payments 2.9.0 seems to have a further problem that is not fixable with orders completely missing data sent to Stripe and back to the website.

    My options here are limited since I do need multi currency but the system implimented in “Payments” plugin does not change currency for add-ons, measurement price, and it does not remove local tax for export if prices are shown in the shop as inc.

    Best solution is to try to resolve the Muti currency interference from the Payments plugin.

    I got answer from Automattic regarding this issue.
    So to disable multi currency feature on Woocommerce Payments, you should add the following to your child themes functions.php file.

    // This is a filter to disable Multi-Currency in WooCommerce Payments.
    add_filter(
        'pre_option__wcpay_feature_customer_multi_currency',
        function ( $pre_option, $option, $default ) {
            return '0';
        },
        10,
        3
    );
    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @b1026q9,

    Thanks for sharing your answer on the forums so it can help others 🙂

    I’m therefore going to mark this forum topic as resolved – if you have any further questions, you can reopen it again if you need be.

    Thread Starter Diego

    (@daigo75)

    @b1026q9 thanks for the update, I’ll take note of that as well.

    Actually this method didn’t work. You will need to install Code Snippets Plugin and add the same snippet there.

    // This is a filter to disable Multi-Currency in WooCommerce Payments.
    add_filter(
        'pre_option__wcpay_feature_customer_multi_currency',
        function ( $pre_option, $option, $default ) {
            return '0';
        },
        10,
        3
    );
    Thread Starter Diego

    (@daigo75)

    @b1026q9 perhaps the reason is that, if you put the code in the functions.php file, it runs too late. The Code Snippets plugin, or a dedicated custom plugin, would be able to run it earlier.

    Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    Just want to note that there is an option to disable Multi-Currency in the settings. It is under Payments > Settings > Advanced, you then uncheck the box and save the settings.

    Thread Starter Diego

    (@daigo75)

    @jessepearson thanks for the information. It will be much easier to use the settings page, than using a filter. 👍

    Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    @daigo75 No problem, and agreed.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Does WC Payments implement some currency conversion logic?’ is closed to new replies.