Skip Navigation

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 6 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 4 months ago.

Assisted by: Prosenjit Barman.

Author Posts
September 17, 2023 at 10:03 am #14408009

ofirG

Hey I just tested my Hebrew version and I made an order, after the payment the site redirect me to "Order Complete" page of English version instead of the Hebrew version. I stayed within this page and I changed the language back to Hebrew with the language switcher on menu, and the page changed to the Hebrew version of the "Order Complete" and it seems all fine, like everything is well translated. It just that I need that when a customer that using Hebrew version will finish payment, it will redirect him to Order complete in Hebrew version and not in English version.

September 19, 2023 at 6:01 am #14416041

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

I understand what you're looking for. Since the "Thank you/Order Complete" page depends on the "Order-received" endpoint of WooCommerce, Could you please check and make sure that the endpoint is translated into the Hebrew language? Please follow the steps below.

- Go to "WooCommerce > WooCommerce Multilingual > Store URLs" tab
- Find the "order-received" endpoint and make sure that it is translated into Hebrew language.
- Clear the caches from your site and browser as well.

Please check and let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

September 21, 2023 at 12:18 pm #14438627

ofirG

Hey, I did as you said but still for some reason it transfer it to the English order complete page and not the Hebrew one. And I already checked the Hebrew version of this page and it's all perfectly translated. Also checked Store URL's as you said and everything was translated and I doubled checked it. Also cleared every cache on my website as well.

Appreciate the help

September 22, 2023 at 4:50 am #14443239

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for trying out the suggestions.

Since the issue persists, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

September 25, 2023 at 3:27 am #14454207

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Sorry for the delay in responding due to the weekend.

Thank you for sharing the access information. As I don't have access to any credit/debit card, I enabled the "Direct Bank Transfer" payment method to test further.

As per your instruction, I switched to Hebrew language and tried to complete an order. In the last step, I found that the "Thank You" page loaded correctly in Hebrew Language. I didn't have to switch to the Hebrew language to see the Hebrew version of the Thank You page. For a better understanding, please check this video: hidden link

As everything worked fine with the Bank Transfer payment method, is the issue specifically happening with the "Gobit" payment method? If this is the case, kindly enable the test mode and share some dummy card information. It will help me to complete the payment step and debug further. I hope you can understand.

If you need help in setting up the Test mode, please reach out to the Gobit support team. For security purposes, I marked the next reply as private.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

September 28, 2023 at 1:14 pm #14482071

ofirG

I contacted my payment method plugin "Gobit" and we tried to solve it.
The problem is that their plugin redirect Success Page to WooCommerce default "order received" page and my default Success Page is the English version of it.
We try to change it or modify it but for now we have no success with it.
Do you have maybe any suggestions? Would appreciate any help.
Thanks

October 2, 2023 at 3:05 am #14494029

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Thank you for consulting with the Gobit plugin team. Since the Thank you page is working properly in each language with the default payment gateways of WooCommerce, it's possible that the Gobit Payment Gateway plugin hasn't been correctly configured with multilingual support. This might be the reason the "Thank You" page isn't working properly in all languages with this particular payment gateway.

However, while checking the plugin settings, I found an option to set a success page. Now, you can try the following steps and check if that helps to solve the issue.

- Create a custom "Thank You" page by following this guide: https://woocommerce.com/document/woocommerce-custom-thank-you-pages/
- Once done, translate thank thank you page into Hebrew language.
- Now, go to "WooCommerce > Gobit" and scroll down to the "Pages of the store's payment process"
- From the "Success Page" field, select the custom Thank you page that you just have created and save the changes.
- From the same page, switch to the Hebrew Language from the language switcher that appears on the Topbar of Admin.
- Scroll down to the "Pages of the store's payment process" and select the Hebrew version of the Success page.
- Save the changes.

Please try and I hope it will help. If not, I kindly request you to discuss this with the Gobit Payment plugin team. As it is a compatibility issue, they need to include multilingual support for the plugin so that it can seamlessly work in a multilingual environment. You can also request them to join the Go-global Program of WPML: https://wpml.org/documentation/support/go-global-program/

I hope you can understand. If there is anything else you need help with, please let me know and I will try my best to help.

Best Regards,
Prosenjit