Closed AashikP closed 1 year ago
Thanks for the report @AashikP.
This issue impacts Multi-currency
, so assigning to @Automattic/sigma (based on team responsibilities Pc2DNy-3z-p2) cc @dwainm as team lead. Assigning as part of Gamma Triage process PcreKM-yM-p2.
We've had another report of this (6812313-zen), which led to a Duplicate Issue being created.
@dwainm do we have any idea on how deep in the backlog this is? :)
@CGA8C thanks for the ping; this goes out with 6.5.0.
Describe the bug
The manual exchange rate changes are not saved. Reloading the page shows that the exchange rate is set to Manual, but still takes the value pulled via API and sets that as the exchange rate.
To Reproduce
Set store currency to
Pound sterling (£)
Go to WooCommerce > Settings > Multi-Currency > And add USD as an option
Set the exchange rate to Manual, and save changes:
Find the
Currency Settings updated
notice.Test the updated exchange rate in cart/checkout page to find that no changes are applied to the exchange rates.
Reload the page (WooCommerce > Settings > Multi-Currency) to find that the exchange rate is still set to Manual, but the rate itself is the default exchange rate pulled by API:
Try to modify the exchange rate and save it again
Do not reload the page. Save it once again to find this error in browser console:
This was the Payload sent in original request (Step 6):
This was the Payload sent for the second request (Step 7 - without reloading the page):
Actual behavior
Manual exchange rate request should be respected, and saved correctly.
Expected behavior
Manual exchange rates are not saved, and are lost on page reload.
Desktop (please complete the following information):
Additional context
Related ticket: 6451299-zd-woothemes Slack discussion: p1690277547352709-slack-C3NCP7ZJ6