Skip Navigation

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

Problem:
If you're experiencing issues on your WooCommerce multilingual site where users get redirected to the same page instead of the payment screen when trying to place an order in the English version, while other languages like Spanish and French work fine, this might be due to multiple endpoints being registered with the main string in Spanish.

Solution:
First, ensure that the 'Order received' endpoint in WooCommerce -> Settings -> Advanced is set to 'order-received'. Then, go to WPML -> String Translation and delete all strings related to 'pedido-recibido' and 'order-received' endpoints. After that, translate 'order-received' to other languages as needed, for example, 'pedido-recibido' for Spanish. Additionally, check other endpoints like 'order-pay' and ensure they are set correctly in WooCommerce settings and translated appropriately in String Translation. Follow the steps provided in our errata for detailed instructions:
Incorrect content displayed when WooCommerce endpoints are translated from non-English to English.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us: WPML support forum.

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.

Our next available supporter will start replying to tickets in about 8.26 hours from now. Thank you for your understanding.

This topic contains 19 replies, has 2 voices.

Last updated by Waqas Bin Hasan 7 months, 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
March 28, 2024 at 11:24 am #15459999

dosvisual.com

Thanks for the clarification.
I´ve followed your steps and changed the string for Order received in ESP to "order-received" (in Wc-settings-advanced and in WPML > strings), but the error sadly persists.

I tried to complete an order in english paying with credit card and after clicking on PLACE ORDER it redirects me to the same page with no error message.
Please check the video of my test on this link> hidden link

Additionally, I see the strings are not translated in French.. is that correct?

Thanks

order-received-wc-settings.png
string-pagarpedido.png
string-order-pay.png
fix-applied.png
March 28, 2024 at 8:05 pm #15462524

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates. Looks like I'll have to check in your live site but that's too risky. Since we've already tried already on our test site. I'd be great either you allow working on your live site or create a test site to check for the issue.

So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

April 2, 2024 at 8:41 pm #15475134

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Unfortunately the said timings are out of my work hours. So I quickly check while being extremely careful.

I found that "order-pay" was still in Spanish, so I fixed that in WooCommerce > Settings > Advanced as "order-pay" instead of the Spanish word and then translated in WC Settings (see attached).

Then check again on the frontend, and I was able to place the order in English (see attached).

I see that there are lot of other endpoints, which are still in Spanish. I'll recommend checking this errata https://wpml.org/errata/incorrect-content-displayed-when-woocommerce-endpoints-are-translated-from-non-english-to-english/ and correct accordingly (if needed).

But for now I see that order-pay and order-received are working fine.

redsys.jpg
order-pay.jpg
April 9, 2024 at 8:43 am #15497473

dosvisual.com

Hi
Thanks for the workaround. I don´t know why my changes on the endpoints were not effective, though glad it worked for you. Hope you can fix this bug!
Cheers

April 9, 2024 at 3:41 pm #15500258

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation and glad that it worked out in the end.

The case is with our dev team and I'll recommend subscribing to the comments on this errata (https://wpml.org/errata/incorrect-content-displayed-when-woocommerce-endpoints-are-translated-from-non-english-to-english/), so when it is resolved, you'll be notified.

Since the issue on your site has been resolved, I'll request to close this ticket and feel free to open a new one whenever you need more help.

Have a nice day 🙂