Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing an issue where the price in the secondary currency (US dollar) is incorrect when updating the order status from processing to completed, and it seems to ignore the dot in the exchange rate, resulting in incorrect price calculations.
Solution:
We recommend updating your WooCommerce Multilingual & Multicurrency plugin to the latest version, 5.5.0, which includes bug fixes and improvements that might resolve this issue. You can find the latest version under My Account -> Downloads on our website. For instructions on how to update, please visit http://wpml.org/faq/install-wpml/.
If you do not see the updates available, try clicking the "Check for updates" button in the Plugins → Add New Plugin → Commercial tab. After updating, if the problem still occurs, we suggest trying to replicate the issue on a test installation. Please ensure to back up your database before proceeding.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum for further assistance.

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 6 replies, has 1 voice.

Last updated by nikolaosM 1 week, 2 days ago.

Assisted by: Andrey.

Author Posts
June 18, 2025 at 3:48 pm #17147546

nikolaosM

Background of the issue:
I have enabled multicurrency with a manual exchange rate in my WordPress site using WPML. I am testing the functionality by placing orders. The default currency is set to euro, and US dollar is the secondary currency. The manual exchange rate is set to 1.084. I am experiencing an issue when updating the order status from processing to completed. The issue can be seen on this page: hidden link

Symptoms:
When I update the order status from processing to completed, the price in the secondary currency (US dollar) is incorrect. It seems to ignore the dot in the exchange rate. For example, a product with a default price of 100€ shows as 112$ in the processing order email but changes to 1084$ in the completed order email and in the WooCommerce admin order edit page.

Questions:
Why does the price change incorrectly when the order status is updated from processing to completed?
How can I ensure the exchange rate is applied correctly in all order statuses?

June 18, 2025 at 7:22 pm #17148085

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

Please try using a comma, instead of a dot.

Instead of using 1.084 for the exchange rate, use 1,084. Let me know if that fixes it.

If that does not help, one of my colleagues will soon come to continue support.

June 19, 2025 at 7:35 am #17148859

nikolaosM

Hello Lucas,

Comma is not acceped. I click it on my keyboard and nothing is added, only dot is allowed.

Thanks!

June 23, 2025 at 8:46 am #17158649

nikolaosM

Hello Lucas,

Any updates?

Thanks!

June 24, 2025 at 10:59 am #17164385

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I appreciate your patience.

Does the same issue happen if you temporarily disable all the plugins except WPML, WooCommerce Multilingual, and WooCommerce?

A similar issue has been reported to our developers. Take a look at the top of this ticket, the content in the yellow box is one solution that has worked for a few clients:
https://wpml.org/forums/topic/admin-order-currency-unit-price-is-wrong-2/

If that doesn't work, try unchecking the WooCommerce->Settings-> Enable tax rates and calculations (if that is an option for you).

If those don't work, please try the following workaround and let me know your results:

In the file: wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-orders.php

Go to the line

if ( 'total' === $key
                     && ( $item->get_total() !== $item->get_subtotal() || $this->total_is_changed( $item ) )
                ) {

Remove or comment out

|| $this->total_is_changed( $item )

Before making any changes, please ensure that you back up your database first.

June 25, 2025 at 12:40 pm #17169247

nikolaosM

Hello Andrey,

I only have the basic plugins enabled and a default wordpress theme, also I have the taxes calculation option disabled. Also in the path you provided there is no line like the one you mentioned. Please have a look at the file you mentioned and tell me again what I need to do.

The ticket you metioned is from a year before, many updates since then.

Thanks!

June 25, 2025 at 3:07 pm #17170106

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

We have just released WooCommerce Multilingual & Multicurrency version 5.5.0. Please update your WCML plugin to take advantage of the latest bug fixes and improvements.

You can check the latest released versions under "My Account -> Downloads" on our website. Instructions for updating can be found here: http://wpml.org/faq/install-wpml/.

If you do not see the updates, you may need to click the "Check for updates" button in the Plugins → Add New Plugin → Commercial tab.

If the issue persists after performing the update, could you please try to replicate the problem on our test installation? I have created this installation for you, and you will find the details in the following private reply.

Please remember to back up your database before proceeding.

June 26, 2025 at 1:20 pm #17173748

nikolaosM

The update fixed the issue. Thanks!