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

Order value or amount in Woocommerce Analytics is incorrect.

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.
12

We checked some orders and found that mainstream currencies such as EUR and GBP are automatically converted into USD in Analytics, which is good and the amount is correct. However, for orders from countries such as Denmark and Hungary etc, the amount is directly calculated in the local currency, that is, 1000 HUF = 1000 USD, 508 DKR = 508 USD. That is so wrong. 508 DKR should be $72.83 USD in Analytics. This caused our Woocommerce daily sales to be calculated incorrectly. In fact, the sales volume were not that much.

By the way, everything was updated to the latest version.

Denmark order

 

 

PAYMENT DETAIL

 

 

Order value in Analytics

Hello

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

Orders with an error were made in one payment system?

Please  check  rate  on  these  orders - https://share.pluginus.net/image/i20240624103208.png

license key submitted.

The order was placed directly by customers. The amount of payment we received is correct, it is just the amount shown in Analytics that is wrong.

Could you give me the plugin version number you are using?

I needed this - https://share.pluginus.net/image/i20240624130546.png

 

I provided the Order currency rate. It is 1 (number 1) and I can't change it.

Version 2.4.0

Hello

Please  update the plugin to latest version  - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

Then try changing the rate in these orders - https://share.pluginus.net/image/i20240625104821.png

I updated Fox to Version 2.4.1.9 as you requested. Additionally, the Order currency rate for this order has been modified to 6.86824989319. However, in analytics, the order still displays as $508, which appears to be incorrect. The method didn't work.

The key issue here is that while the method mentioned above may work, individually and manually modifying the Order Currency Rate for each incorrect order is not feasible. This process raises concerns about the accuracy of WooCommerce's Analytics. The better approach would be to prevent errors from occurring in the first place, rather than fixing them retroactively.

 

 

Hello

the order still displays as $508, - Please  clear  cache Woocommerce->Status->Tools - https://share.pluginus.net/image/i20240626115228.png

 The better approach would be to prevent errors from occurring in the first place, rather than fixing them retroactively. - You are absolutely right.  That's why I asked this - https://share.pluginus.net/image/i20240626115834.png I need to know the pattern of this behavior. Which payment system causes this?

After updating FOX to the most recent version, more incorrect order values emerged in Analytics. Specifically, four orders from yesterday were inaccurately tallied.

These 4 orders were paid by using Woocommerce Payment through Visa or Mastercard, not through local payment methods. They were placed from customers in Norway, the Czech Republic, and Sweden.

I am unsure of the next steps to take. The issues with orders seem random, and I am uncertain about the specific currencies and countries that are problematic.

Hello

Could you give exact link to your site?

were the orders made through the standard checkout page?

Do you use checkout blocks?

Hi,

Our site is atttached in the photo.

 

 

Yes, the orders are made through standard checkout page.

I don't use checkout blocks.

Hello

Ok! We have a code that can solve this problem.

Can you provide me with FTP access so I can paste this code - https://share.pluginus.net/image/i20230222134241.png -> wp-admin access - https://share.pluginus.net/image/i20230222134615.png OR  I can provide instructions and you can do it yourself.

Please provide instructions so we can do it by ourself.

In addition, we recently received feedback that customers were unable to pay with PayPal, and the message"CANNOT_MIX_CURRENCIES" appeared. We think this may be related to FOX.

 

 

 

In file  - wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - please add this code - https://share.pluginus.net/image/i20240628123836.png

add_action('woocommerce_checkout_update_order_meta', array($this, 'woocommerce_checkout_update_order_meta'), 9999, 2);

AND - https://share.pluginus.net/image/i20240628123933.png

public function woocommerce_checkout_update_order_meta($order_id, $data) {
        $currencies = $this->get_currencies();
//+++
        //HPOS
        $order = wc_get_order($order_id);
        if (!$order) {
            return;
        }
        $order->update_meta_data('_woocs_order_rate', $currencies[$this->current_currency]['rate']);
        $order->update_meta_data('_woocs_order_base_currency', $this->default_currency);
        $order->update_meta_data('_woocs_order_currency_changed_mannualy', 0);
        $order->save();
}
 and the message"CANNOT_MIX_CURRENCIES" appeared.  - Please check this option -  https://share.pluginus.net/image/i20240628124524.png . write to us if it happens again

 

If we update FOX plugin in the future, will the code we add now be removed?

This code will be included in the new version of the plugin.

Hi,

  1. We’ve added the two codes to the SFTP panel, but we’re not sure if they are working correctly. Could you please check our checkout page and confirm if the code is correct?
  2. FOX Sesstion selected;  ''I am using cache plugin on my site'' enabled; ''Prices preloader'' disabled.

Hi,

  1. We’ve added the two codes to the SFTP panel, but we’re not sure if they are working correctly. Could you please check our checkout page and confirm if the code is correct?
  2. FOX Sesstion selected;  ''I am using cache plugin on my site'' enabled; ''Prices preloader'' disabled.

The solution above didn't help. Yesterday, more customer reported that they can't check out through PayPal due to currency issues.

We've disabled the GEO IP matching and are providing Currency switch only. Toooo many bugs!

 

12