• Resolved algo1900

    (@algo1900)


    [Issue]
    Orders made with USD are failing because in the log request, the currency code is being taken from the shop default currency (in this case CRC). When the PayPal button is clicked to place the order, it produces an error for DECIMAL_PRECISION. Upon reviewing the logs, it can be seen that PayPal is trying to pass the incorrect currency code.

    [Example]
    The order total is $57.65 USD, but the logs show PayPal is trying to process $57.65 CRC, causing an error.

    [Expected Result]
    The currency code being passed to PayPal should be taken from the order details rather than the default store currency.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @algo1900,

    Can you please make sure the latest plugin version 1.7.0 is installed?
    The previous version 1.6.5 had a bug that could result in orders always being created in the default store currency.
    If you are already using the latest version, we’d be interested in a copy of your WooCommerce system report and the plugin you are using for the currency switching.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter algo1900

    (@algo1900)

    Hi Niklas,

    Thank you very much for your response. I am using version 1.7.0 (first screenshot link below), but that is indeed interesting that this is the same bug from the previous version. I am also providing links to relevant screenshots below of the WooCommerce system report for your reference. Please let me know if you need anything else and I would be happy to provide it.

    [Screenshot image links]
    https://ibb.co/dgqGSXN
    https://ibb.co/R7ZLxmd
    https://ibb.co/pdNZcYt
    https://ibb.co/8DPbvLx
    https://ibb.co/5hLzkG1
    https://ibb.co/7t0WvdT

    Ed

    Thread Starter algo1900

    (@algo1900)

    Also, to answer your question, I am using the following plugin for the currency conversion:

    Booster for WooCommerce version 5.5.4 | Gateways Currency Converter module

    I can see that the plugin is correctly converting from CRC to USD at checkout and sending the amount to PayPal, but in PayPal’s logs the store default currency is still sent, causing the error.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @algo1900,

    I see, we have received another report about this particular compatibility issue a while back and our developers haven’t yet had the chance to look into it.
    I could reproduce the behavior and created an issue for our developers but that’s where we are for the moment.
    Most basic multi-currency setups should be working with PayPal Payments, but there is no native multi-currency support yet, we so can’t guarantee every multi-currency plugin to be working.
    Since multi-currency works as expected with most of the popular plugins, we would suggest additionally reaching out to the developers of the Booster plugin to see if there’s anything they could suggest as a potential workaround. It may take another month or two before we look into adding broader multi-currency support.
    I’m afraid all we could suggest for the moment would be to try it with a different currency switcher as most of the ones we tested were working as expected.

    Kind regards,
    Niklas

    Thread Starter algo1900

    (@algo1900)

    I appreciate the honest and straightforward response. Can you please let me know what currency conversion plugins you recommend that were tested and are working with PayPal? I’m surprised Booster wouldn’t be considered one of the popular plugins as it has 80K+ active installs. I have submitted an issue to the dev there as well to see if there is any possible workaround from their end in the meantime, but it is clear the issue is on the WooCommerce PayPal Payments side.

    If possible, would there be any way to escalate the issue with the devs on your end? Even though I submitted the issue for one particular client’s website, we have multiple different clients experiencing the same thing and are unable to collect any payments through PayPal since their stores all have CRC as the default currency. Along with the other report of the same issue and potentially others that haven’t submitted service requests, it seems it is fairly widespread and deserves more attention.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    we have no recommendations for 3rd party plugins since every environment can react differently and can cause issues. We can’t be sure what will work and what will not work in the WordPress/WooCommerce environment.

    I have linked this thread to the 3rd party bug, so we should update this thread when we have a solution available for you within our own plugin.

    I will mark this thread as resolved since there will not be any more progress added here until we get this fix in place.

    Kind regards,
    Joost

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Incorrect currency code being passed’ is closed to new replies.