Support Forum

Content of the article

WPBE - WordPress Posts Bulk Editor Professional
You need to log-in to create request (topic) to the support

2x Orders have checked out in the wrong currency

(new from 01-07-2019)
This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 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,

We have had 2 or 3 customers checkout in a currency which is wrong.

The system is setup so that you can freely change the currency on the website when browsing and uses geo location to determine your local currency. If when you go to checkout and you enter a UK address all products prices are changed to GBP. European address changed to EUR, Australia address changes it to AUD etc etc.

I have tested this system an awful lot and I cannot replicate the issue however there is 3 orders which prove me wrong.

The customers have said they were on a mobile device and ironically we have not received an admin order confirmation email for these orders.

We have just added HotJar to record visitors so I am hoping we catch this in action but it is strange. In comparison to our total orders these a needle in a haystack but nether the less should not happen.

Have you experienced this before ? I know we can change the order currency in the backend but what does this do exactly ? Would the customer be charged more ? They have ultimately paid less as the GBP price compared to EUR is more.

We are using CloudFlare and WPRocket, the cache option in your plugin options is enabled.

I noticed a customer on a mobile device when viewing HotJar videos select the GBP currency from our popup (it was automatically detected through geo) but when they clicked the mobile menu the currency was showing EUR. However, when they clicked a product category the prices were in GBP.

 

Hello

If when you go to checkout and you enter a UK address all products prices are changed to GBP. European address changed to EUR, Australia address changes it to AUD etc etc. - did you customize the plugin code? my plugin does not have such a feature

Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png

Drop me  exact link to  the  issue

Hi Pablo,

I believe I found the following snippet of code on this website somewhere:


add_action('woocommerce_checkout_update_order_review', function($data) {
global $WOOCS;

if (is_string($data)) {
parse_str($data, $data);
}
//***
$_currency = $WOOCS->get_currency_by_country($data['billing_country']);
if (!empty($_currency)) {
$WOOCS->set_currency($_currency);
}
}, 9999);

Hello

Please  paste  your  license  key  here - https://c2n.me/44dWcba.png

I know we can change the order currency in the backend but what does this do exactly ? - https://c2n.me/44dWQfi.png

Would the customer be charged more ?  - Unfortunately my plugin cannot do this

You need to find something similar in these  orders: Currency, Country OR payment system

Try  to use  this  option - https://c2n.me/44dXtRx.png

 

Hello,

I have added the license key in the correct bit this time.

So the currencies are all the same on all three orders.

UK address entered in billing, but checkout currency is EUR when it should be GBP.

WorldPay Payment Gateway is used.

I have changed currency storage to session.

Hello

what is your base currency and what "welcome" currency?

I have changed currency storage to session. - Please do  test.

You  can  drop me  wp-admin access ( https://c2n.me/42BAoj4.png ) I will check  these  settings

Hello,

Both are GBP.

Here are the currency settings:https://ibb.co/0hdJrbc

Hello

If you  use  GeoIP rules - this could cause a conflict with the custom script

Ahh I see, what would you propose we do then ?

We currently have a popup which detects where you are from, however if it is wrong a customer can select another currency to change it.

This script is important as it stops people checkout out in the wring currency.

I have added site link in private data.

Hello

Please  try  to  do test  payments. Checkout at a different address.  Example:

If you have a European Union IP - make delivery to the UK.

Disable  this  option - https://c2n.me/44gpb7z.png

 

Hello,

How do we disable this option as I toggle it off and save options but it remains turned on ? Do we need to clear all rules in GeoIP Rules ?

 

Hello

Try  in  file  \wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php  add  this  code - https://c2n.me/44gxTBa.png