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

Failed Orders

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.

Hi

I'm getting failed orders on my WooCommerce https://silviafindings.com

The error message is"Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES PayPalGateway.php:500 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES OrderEndpoint.php:551 Order status changed from Pending payment to Failed."

WooCommerce support response is as follows:"The issue you reported generally occurs when the order is first created in one currency (e.g. EUR) and then this same order is patched with another currency (USD) values. This can be done by a 3rd party plugin that switched the currency for the users, or even by a plugin that affects the prices with coupons or discounts."

I would like to know if this has been reported and if your plugin is causing the issue.

Our shop is based in CAD.

Any guidance would be greatly appreciated.

Thank you

Lyse

Hello Lyse

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

Do you use third party plugins to change prices?

What plugin version number are you using?

Hi Pablo,

I'm at Version 2.3.9.2 of the currency plugin.

I use the Ignitewoo Wholesale Pro Suite plugin for wholesale but had two custom plugins created to extend  it functions: Category Based Discounts plugin (addon to allow role based cart discounts on particular category cart items) and  Wholesale Pro Extended plugin (addon to limit the cart based on categories).

It does happen all of the time - I have a customer from Australia where it keeps happening to him and one in the US. The AUS customer has persistent tried again and again and was successful 2 times to placing an order with no error.

Thanks

Lyse

Hello Lyse

Can you disable these 3rd party plugins for testing?

And a very important question:   and then this same order is patched with another currency (USD) values.  - Is the second currency always the base currency or any other?

Hi Pablo,

I cannot disabled the wholesale and related plugins on the production site because we have so many wholesale customers that depend on this functionality daily.

I have created a staging site where I can test and disable whatever plugins that needs to be disabled during testing. The problem testing is I'm not sure what steps I need to take to replicate the problem. I see that this is happening to regular orders not just wholesale ones. So perhaps its not the wholesale plugins that are at fault.

At this time it has happened to AUS and US customers regardless of their role.

Thanks

Lyse

 

Hello Lyse

Please  drop me  wp-admin access  to  your  test  site  - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png  - I will check the settings

Hi Pablo

I have created an admin login on both the production and staging sites. Credentials are in the private area.

Thank you

Lyse

Hello

as I understand you want to accept payment only in CAD . To do this, you use the setting - https://share.pluginus.net/image/i20221108100010.png

So  try  to  check  -  https://share.pluginus.net/image/i20221108100047.png and  add  in  functions.php  this code

add_filter('wp_head',function(){

if(is_checkout() && class_exists('WOOCS')){

global $WOOCS;

$WOOCS->set_currency('CAD');

}

});

and  do a test

Hi Pablo

I can't access the second image link: https://share.pluginus.net/image/i20221108100047.png

Thanks

Lyse

Hello Lyse

Please  try  now  - https://share.pluginus.net/image/i20221108100047.png

Hi Pablo

I have made the changes you suggested and gave it time to see if the issue would stop. Still orders keep failing with the error and doesn't matter if these come from Australia or the USA:

Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES PayPalGateway.php:525 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES OrderEndpoint.php:551 Order status changed from Pending payment to Failed.

Something has to be causing this, but what?

Please help find a solution

Thanks

Lyse

 

Hello

It is very strange! the code that I gave you cannot give another currency on the order page

Please  update  access to  your  sites

Hi Pablo,

The login credentials are the same for both sites, but please investigate the diyjewellery.com first as it's happening often and customer just can't place their orders. We have to place orders manually to them.

Thank you

Lyse

Hello Lyse

Please  update  access to  your  sites  - I wrote this because the access is not valid - https://share.pluginus.net/image/i20230110085536.png

Please check access

Hi Pablo

Resetted the password and  successfully logged in, so please try again.

Thanks

Lyse

 

Hello Lyse

Please  check  - https://c2n.me/4hys9fM.png and - https://share.pluginus.net/image/i20230111092452.png

Hi Pablo,

I have updated the settings as per your images on both of my websites where international orders fail. I will report back as soon as I see it the changes made a difference.

Thank you

Lyse

Hi Pablo,

Issue is still persisting. An order from Australia was just placed and failed with the following error after I applied the settings changes:

Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES PayPalGateway.php:525 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_MIX_CURRENCIES OrderEndpoint.php:551 Order status changed from Pending payment to Failed.

My client is getting pretty annoyed and asked when this issue will be resolve. It's been happening since November now.

...and it's happening on both websites using the same currency plugin.

Thanks

Lyse

Hello Lyse

I understand you and I'm trying to help you. Unfortunately, the problem is not obvious and it is difficult to find the cause.

Let's try another solution.

In  file - wp-content\plugins\woocommerce-currency-switcher\index.php - I  commented this line - https://c2n.me/4hz5tWs.png

please do  a test . if the error repeats or other problems appear, uncomment this line

Hi Pablo,

I'm sorry and I understand the difficulties. No orders were placed since the change, so keep a close eye on the problem.

I also made the same change to the other SilviaFindings website so I can monitor there too as we get more orders there than the DIY Jewelry website.

I'll keep in touch.

Lyse