PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

PayPal doesn't recognize currency switch based on country during checkout

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I'm using this solution for changing currency based on the delivery country during checkout: https://currency-switcher.com/possible-delivery-country-change-currency

Everything works fine with Stripe but with PayPal when I change country PayPal thinks it's still the currency set during page load.

Example:

Checkout page loaded with default country United States (currency USD), user changed country to Germany (currency EUR) and wants to pay with PayPal. User gets the following error:

Expected currency from order api call to be USD, got EUR. Please ensure you are passing currency=EUR to the sdk url.

I would be very grateful if you could help me.

Thank you very much.

All the best,
Patrick

P.S. Slava Ukraini

Hello Patrick

what version of the plugin are you using?

Try  in  file  -  \wp-content\plugins\woocommerce-currency-switcher\index.php - comment/delete  this  code - https://share.pluginus.net/image/i20221104093241.png and  do a test

Hello Pablo,

Unfortunately it didn't help. After commenting the mentioned code there is exactly still the same issue.

I use the newest plugin 2.3.9.2 (Pro).

Thank you in advance.

Best,
Patrick

Hello Patrick

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png and  wp-admin access - https://share.pluginus.net/image/i20210618130637.png - I will  check  it

I added access.

Thank you.

Hello Patrick

Looks like this paypal"smart button" has data that doesn't redraw when changing currency.

Unfortunately, in this case we cannot influence it.