Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 0 voices.

Last updated by Prosenjit Barman 1 year, 4 months ago.

Author Posts
December 15, 2024 at 6:40 pm #16515161

monikaL-9

Background of the issue:
I turned on the multicurrency option in WPML, but it is not working correctly with the PayU payment gateway. I turned off this function, but it is causing an error when I'm doing a backup of the site. FX rates are automatically updated with currencylayer.

Symptoms:
Upload failed. Nie mógł authenicate z przewidzianym login i hasło. Technical Error: Implicit conversion from float 4.266666666666667 to int loses precision.

Questions:
Why does turning off the multicurrency option cause an error during site backup?

December 17, 2024 at 6:55 am #16519801

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thanks for reaching out to WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

Please note that the Multi-currency feature of WooCommerce Multilingual is currently compatible with a few payment gateways, such as WooCommerce PayPal Payments, Stripe, and Direct Bank Transfers. For more details, you can refer to the link below:

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#setting-up-payment-gateways

As you mentioned that you’re using the PayU payment gateway, it is not listed as compatible, which could be the reason why the multi-currency feature is not working as expected.

However, after reviewing the translated error message, I noticed two key points:

1. There is an error with the PayU access credentials—they appear to be incorrect.
2. There is a loss of precision caused by removing the fractional part from the number.

To resolve this:
- Please verify that your PayU access credentials are correct.
- Edit the currency settings you’ve added and ensure the rounding option is set to disabled. You can refer to this screenshot for guidance: hidden link.

But, if the issue persists, please try with a compatible payment gateway. I hope it will help.

Feel free to let us know if you need further assistance or clarification. We'll be happy to help.

Best regards,
Prosenjit

The topic ‘[Closed] multicurrency’ is closed to new replies.