-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-currency broke (533) #481
Comments
@Dinamiko Hi Emili
|
The function uses it as an initial value, not as a fallback. So it is possible that the filter returns for example |
First of all, thanks @tivnet for the great feedback, here is the plan:
Just to mention that we are already getting the currency from the order when is available in some parts of our code (https://github.com/woocommerce/woocommerce-paypal-payments/search?q=get_currency%28%29), but still is important that we check the mentioned cases to see if they currently works or not. |
@AlexP11223 , @Dinamiko And "just for fun", a "strange" filter can also break the
or
:) |
For the shop currency which was intended for things like checking if the shop uses supported currency - yes, it should be fine. And yeah, for proper support of multi-currency we need to use the order currency instead of this when handling orders. |
Describe the Bug
The change in #427 resolved an error while manually creating an order, but it caused multi-currency functionality to stop working entirely it seems.
To Reproduce
Environment
The text was updated successfully, but these errors were encountered: