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

selected currency is switching to default currency at 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.

I just recently started having a problem with the selected currency reverting to the default currency at checkout while the order is being processed via PayPal. The order will go through correctly with the correct currency, but PayPal will return an error"Validation error: PayPal currencies do not match (code CAD). Order status changed from Processing to On hold." The order will automatically be put On hold even though the customer has paid. The order too has the wrong currency (default currency instead of the selected currency, even though the customer paid in their selected currency).

My website has 2 currencies, USD & CAD. Default is USD. All prices in both currencies are fixed.

Here's a run-through of the problem:

  • Customer from Canada has CAD currency, adds product to cart, and goes to checkout
  • At checkout currency and totals are all correct.
  • Customer pays via PayPal
  • After payment, customers is brought back to an"order received page" with their order itemized, but the order currency has changed to USD (default currency) and the currency selector has switched to USD from CAD
  • Payment sent via PayPal is in CAD (correct amount and correct currency)
  • Customer order on wp dashboard status is"On hold", currency is wrong (it's in USD and should be CAD), and an error appears"Validation error: PayPal currencies do not match (code CAD). Order status changed from Processing to On hold."

Please help me fix this. I've been using your plugin for a year, never an issue until now. All my plugins, woocommerce, wordpress, and theme are all up to date. I have the PayPal error log if you would like it.

Hello

Do you have a test site?

Please  add the  wp-admin  access - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png I will  check  a settings

Thanks for the reply. I put the admin access in the private data box. I don't have a test site, but if needed I can create one.

Looks like the problem is just with PayPal. A CAD transaction was made today using Stripe without an issue.

Just to let you know, I'm trying to put up a test site but having a little issue with the database. Once I have that up and ready I will send you the login info.

Hello

Please  check  your  site:  https://c2n.me/49GkZfi.png

Sorry about the delay. I fixed the database issue and also created a testing/staging site for you to work on. I'll put the url and login credentials in private data.

Hello

Please  try  a new  version of the  plugin (link in the  private data)  do a test and tell me the result

it looks like I've found the  error

Try  in  file - wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php  delete  this  code - https://c2n.me/49He8Yt.png and  do a test

Great, it worked! Thank you so much.

Hello

Welcome;)