Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
174 stars 69 forks source link

Multi-currency: Price does not get updated after changing country in checkout page #7492

Closed leonardola closed 1 year ago

leonardola commented 1 year ago

Describe the bug

When a customer is in the checkout page and select a country that uses another currency than the default one the price does not get updated to the correct currency.

To Reproduce

Additional context

7174504-zd-a8c

csmcneill commented 1 year ago

I think this is more of a type: enhancement than a type: bug issue. I know @jessepearson has worked a ton on multi-currency stuff, so I'd love to get his input.

As far back as I can recall, the customer currency has never changed based on the selected country—and this may be by design. We do have the option to change the currency based on the customer's location via the Automatically switch customers to their local currency if it has been enabled setting at WooCommerce > Settings > Multi-currency, but this works on geolocation instead of based on customer input.

I also wonder how this would work, since changing the billing country doesn't involve a page refresh for updating most information (e.g., taxes, shipping methods), but a page refresh is likely needed if we'd want it to change the displayed currency.

jessepearson commented 1 year ago

As far back as I can recall, the customer currency has never changed based on the selected country—and this may be by design.

Correct, this has never been the case, and I don't think it will ever be the case. If the currency were to change based on country selection, then that would make an assumption that the customer wants to change their currency.

We do have the option to change the currency based on the customer's location via the Automatically switch customers to their local currency if it has been enabled setting at WooCommerce > Settings > Multi-currency, but this works on geolocation instead of based on customer input.

This is correct, and this will only set the currency on the initial visit. If the customer has changed their currency, it's not going to reset it back to their local currency when they view a new page.

I just went and viewed the ticket and I see this as an active plugin in their SSR:

WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.2.0

I think they contacted the wrong support about their Multi-Currency issue they were having. Since this seems to be about that plugin and not WooPayments, I am going to close this issue as a won't fix.