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.
Tagged: Exception
This topic contains 8 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year, 7 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
October 24, 2023 at 2:56 pm #14649023 | |
daveD-10 |
I'm using the WooCommerce Order Status Manager plugin and Rabbobank's "iDEAL" checkout payment gateway. When visitors are on the German version of the site, they go directly to the "checkout confirmed" page rather than the payment gateway when the "WooCommerce Order Status Manager" is enabled. To troubleshoot this I disabled all plugins except for WooCommerce, iDEAL payment gateway, and WPML plugins. Then I was able to successfully place a test order. When I re-enabled the "WooCommerce Order Status Manager" plugin, I was redirected to the "checkout complete" page and skipped the payment gateway redirect alltogether. When I disabled the plugin I was able to place a test order. So this was replicable. I can provide you login and SFTP credentials for our staging site for testing. |
October 25, 2023 at 11:20 am #14660139 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understand the issue you're having and will try my best to assist you in this matter. Could you kindly check if you're able to place an order with the WPML plugin deactivated while keeping the "WooCommerce Order Status Manager" plugin enabled? If you continue to be redirected to the "checkout complete" page, the issue likely lies within the "WooCommerce Order Status Manager" itself. In that case, you need to reach out to the Support/Author of that plugin and discuss further about this matter. Maybe they are aware of such cases and assist you better in this matter. But, if the issue gets resolved after deactivating the WPML plugin, then we need to check if it is replicable in a fresh environment and investigate further. I kindly request you to try replicating the same issue in the sandbox site given below. - hidden link You'll be logged in to the site directly when you click on the link. All the essential plugins like WooCommerce, WPML, and its add-ons are already installed there. Just install the "WooCommerce Order Status Manager", and configure WPML, WooCommerce, and WooCommerce order status Manager as they are configured on your site. Once you're able to reproduce the same issue on the sandbox site, please let me know so that I can investigate further. Looking forward to your response. Best regards, |
October 25, 2023 at 2:16 pm #14662045 | |
daveD-10 |
Hi Prosenjit, I understand what you are asking, but that would defeat the purpose of my support request. The problem occurs when I am in the German translation of the site using WPML. I can successfully make a purchase when I am in the English (not translated version) of the site WITH the plugin enabled. To be clear, I CAN make a purchase successfully in the German (translated) version of the site with the plugin in question DISABLED. Does that make sense? |
October 25, 2023 at 2:17 pm #14662047 | |
daveD-10 |
I'll attempt to replicate the issue on the sandbox site. |
October 25, 2023 at 3:50 pm #14663047 | |
daveD-10 |
Prosenjit, I looked at the sandbox site. It is going to take me a LOT of work to "configure the site" so it is like ours. We have a LOT of translations in place, custom woocommerce shipping, products with custom attributes, etc. It's just not feasible. I would rather give you access to our dev site. |
October 26, 2023 at 3:40 am #14665829 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Since the problem occurs with the translated version of the product, a single product should be enough to pinpoint the root cause. Please set up a product, configure it as you have on your site, and then translate it into the secondary language. Once the product is translated, check if you can replicate the same issue on the sandbox. However, if you find this procedure too complex, feel free to share access to your dev site. If you could create a video detailing the steps that lead to the issue and share it alongside the credentials, it would greatly assist in troubleshooting the problem. You can use Loom or other video capturing tool to record the steps. I also have enabled a private box for you so that you can securely share the credentials. The private box looks like this: Looking forward to your response. Best Regards, |
November 1, 2023 at 8:05 am #14705621 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, I've checked and am happy to inform you that the issue is solved on the development site. The root of the problem was the absence of translations for necessary order statuses, which resulted in products purchased in German not being assigned the correct status. Below is the approach I took to resolve the issue. - I navigated to "WPML > Setting ↳ Post type Translation" and adjusted the translation preference for "Order Statuses (wc_order_status)" to be Translatable. After making these adjustments, the portal to complete the payment appears properly on the dev site. Please make the same adjustments on the live site and I hope it will help to solve the issue. If you need further assistance, feel free to let me know. I will be happy to help. Best regards, |
November 1, 2023 at 8:23 pm #14711145 | |
daveD-10 |
Thank you! I'll update the live site and test it then get back to you. |
November 2, 2023 at 6:53 am #14712605 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Sure! Please test and let me know the update. I will be happy to help if you need further assistance in this matter. Best regards, |