Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

Custom order received endpoint redirects to default language if using classic checkout block/shortcode

Solution:

This issue is fixed with the latest version of WooCommerce Multilingual & Multicurrency - 5.3.2. Please update to the latest version.

Relevant Documentation:

https://wpml.org/download/woocommerce-multilingual-multicurrency/?section=changelog

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 43 replies, has 2 voices.

Last updated by Itamar 11 months ago.

Assisted by: Itamar.

Author Posts
November 27, 2023 at 1:34 pm #14930613

T4ng

The files are ready...

November 27, 2023 at 4:55 pm #14933105

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Sure, send me the files. You can upload it to a service like Google Drive or Dropbox and share the link with me. For this, I'll enable private messages for the next reply.

November 27, 2023 at 6:28 pm #14934029

T4ng

The database is too big...
I have to give a Duplicator link to be able to send data, which therefore, I can't provide.
You should be able to build the whole site with only the database. The rest of the setup is vanilla : WordPress, and the necessary plugins, Storefront theme.
How can I provide you with only a link to the db?

November 27, 2023 at 11:00 pm #14935147

T4ng

Itamar,

After striping as much things as I could from the database, I finally could build an archive from Duplicator.
Can you please enable private message so that I can upload the file?

Thank you

November 28, 2023 at 10:16 am #14937585

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

In the next private message, you can share a link to where we can download the files of the Duplicator package. I've also enabled the option to share the database dump with us, but it is limited in size. (I think 10MB is the limit.)

Regards,
Itamar.

November 28, 2023 at 6:19 pm #14943501

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

The installer.php file of this package is missing. I tried to install this package on my local server but failed. Please upload the installer.php file specific to this package to Dropbox.

Regards,
Itamar.

November 28, 2023 at 6:30 pm #14943549

T4ng

Sorry about that, I just added it in the plugins and theme field.

November 29, 2023 at 11:07 am #14949599

T4ng

Hi Itamar,
Just wondering if you were able to build the environment with the last data I provided.
Thank you

November 29, 2023 at 2:15 pm #14952341

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I think you have missed my last reply from yesterday (a private reply).

In your package, I see only an installer-backup.php file. I'm unable to work with it.

Would you care to outline the steps I need to take to install your Duplicator package successfully?

It would be great if you could share a video of this process with me. I usually use Loom for taking screencasts - hidden link

Thanks,
Itamar.

November 29, 2023 at 2:19 pm #14952357

T4ng

Hi,
I think you misread my last reply as well.
In the last Duplicator upload private message (November 28, 2023 at 10:47 am), I provided with a whole new combo .zip + installer.php file.
The files are dated: 202311281911
Did you give a try to these files ?

Thanks

November 29, 2023 at 2:55 pm #14952885

T4ng

I don't work with Duplicator.
I just built a package since this seems to be your go to tool to retrieve a client's environment.

All I did is building a new Duplication package, with standard settings.
So once I got to decent system file by removing unnecessary plugins and uploads, and cleared the database from the unnecessary tables for this test, I reached a size that allow me to comple the duplication process.
So I basically launched the it, successfuly, then retrieved the corresponding installer.php + (archive).zip file.
These are the files I provide you with here.

November 29, 2023 at 7:49 pm #14956135

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

OK, I have successfully installed the package on my local server!

Now, please tell me, should I replicate the issue with the Systempay for WooCommerce or the plugin?

I assume that with the Systempay for WooCommerce plugin, configurations on the Systempay side are also needed. And I have no account with them.

Regards,
Itamar.

2023-11-29_21-43-25.jpg
November 29, 2023 at 8:52 pm #14956247

T4ng

Great! Sorry about the mess with the setup. Thanks for your patience.
With the system pay test setup, doing an order from the French part of the website, you should see the issue. There's no need for further setup
The problem occurs right after validating the funnel with rhe credit card method. You'll see the the url switches from /fr/validation/ to /checkout/, instead of staying of /fr/payment/.

November 30, 2023 at 10:04 am #14960467

T4ng

Hi Itamar,

Please add a product from /fr/boutique/.
The payment method to test in french is: "Paiement par carte bancaire".
The url reached right after is /checkout/order-pay/, while it should be /fr/validation/order-pay/
As a consequence, we get back to the main currency, and are redirected to the payment platform in USD, instead of euros.

Now if you want to double check the wrong url issue, you can activate Stripe (which should also be set on test mode), and to a set purchase, with that method as well
Test card is 4242424242424242 - 12/23 - 123

Is that clear enough?

brave_KPJp7s0atY.png
brave_66kazUsW4g.png
November 30, 2023 at 7:08 pm #14966739

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for all the clarifications.

With the copy of your site, I could replicate the issue with the Systempay for WooCommerce plugin. I was not able to replicate the issue with Stripe. In any case, I escalated this issue to our compatibility team. I'll update you here once I have news about this issue.

Thank you for your patience.
Itamar.