Skip to content
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

"Force currency selection by country" currency change via Aelia Currency Switcher not detected (773) #694

Open
MaxMalmer opened this issue Jun 21, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@MaxMalmer
Copy link

Describe the Bug

We have found out on our site that the PayPal Payments plugin doesn't work with the Aelia Currency Switcher in its latest version. When switching country with the Select2 dropdown in the Checkout the PayPal Payments buttons doesn't reload when a new country is selected. This results in the locale being correct but the currency given in the API call to be incorrect.

To Reproduce

  1. Go to the WooCommerce Checkout with some product in your cart.
  2. Click on the Select2 billing_coutry and select a new country.
  3. Scroll down to the PayPal buttons and try to checkout with Paypal.
  4. See the error in the cosole log of your browser.

Expected Behavior

If all the correct information is filled in the PayPal Payments window should pop up and login should be required.

Actual Behavior

An error occurs as the currency for the order mismatches with what the API is expecting.

Environment

  • WordPress Version
  • WooCommerce Version 6.5.1
  • Plugin Version 1.8.2-test or 1.8.1
  • Browser [e.g. Chrome, Safari] and Version
    Chrome: 102.0.5005.115
    Safari: 15.4
    Firefox: 101.0.1
  • Any other plugins installed
    Aelia Currecy Switcher: 4.13.10.220604

Additional Details

We have tried downgrading the PayPal Payments plugin to 1.6.1 - 1.6.5 and tried the 1.7 versions and the same problem remains.

@InpsydeNiklas InpsydeNiklas added the support Support case label Jun 22, 2022
@InpsydeNiklas
Copy link
Member

The Aelia Currency Switcher plugin should be working fine with PayPal Payments in the latest version(s). Multi-currency is not yet officially supported, but this is the only multi-currency plugin that is being tested (only basic features though) with every new release since version 1.7.0.
In versions 1.6.4 & 1.6.4 there were potential conflicts that have been resolved since.
Can you please reach out to the support with a copy of your system report from here?` https://paypal.inpsyde.com/docs/request-support/
Please include a link to this issue. Thanks!

@MaxMalmer
Copy link
Author

Alright,
I will make a support ticket of course then. I thought it was something that had official support.
Which are the features being tested currently?

@InpsydeNiklas InpsydeNiklas added bug Something isn't working and removed support Support case labels Jun 28, 2022
@InpsydeNiklas InpsydeNiklas changed the title Compatibility with Aelia Currency Switcher does not work "Force currency selection by country" currency change via Aelia Currency Switcher not detected (773) Jun 28, 2022
@InpsydeNiklas
Copy link
Member

Only the basic currency switcher widget is tested but not the "Force currency selection by country" feature.
We made some more tests and could reproduce the reported behavior, so there is an incompatibility that wasn't reported before.
Currency switching via widget should be working (with most of the popular currency switchers) but we can't rule out some problematic use cases or plugins.
More work must be done, especially about handling unsupported currencies, for the integration to promote full multi-currency support.
Thie behavior will be looked into further by the developers and this issue will be updated when there are more details available. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants