No thank you page after checkout
-
Hi
My homepage is redirecting customers to an empty cart after checkout. Can someone help?
The page I need help with: [log in to see the link]
-
[ SNIP! ]
-
This reply was modified 2 months ago by
Jan Dembowski.
Hi there!
Thanks for sharing the details. Could you let us know if the checkout process was working fine before and whether you made any changes just before this issue started appearing?
Also, are you using a custom “Thank You” page or the default WooCommerce one?
I noticed you’re using the Redirection plugin — sometimes that can cause unexpected redirects. For testing purposes, please try deactivating the Redirection plugin and check if the issue persists.
If the problem continues, please temporarily deactivate all plugins except WooCommerce and switch to a default theme such as Twenty Twenty-Five to see if that resolves it.
You can also create a staging site to run these tests without affecting your live site.
Let us know what you find after trying the above steps.
I don’t know when this happened I tried to restore plugins from 1. sep. but nothing works.
I tried to deactivate the redirection plugin but this is not affecting.
Im now trying to make a staging site but it gets stuck with 43%.
im using woocommerce standard thank you page. It hard to test it in the staging since the problem only is affecting my frontend.
I feel like I have tried anything.
-
This reply was modified 2 months ago by
simonekaalund.
Hi there,
I tried to replicate the issue on your site and I can see that the “Place Order” button redirects to an empty cart page and the order is not placed. This appears to be a plugin conflict.
Could you please run a full conflict test by deactivating all plugins except WooCommerce and activating a default theme? For more details on how to run a conflict test, you can use this guide:
https://woo.com/document/how-to-test-for-conflicts/I’m suggesting this because we’re not able to replicate the issue on our end. I have checked this on two different sites without encountering the same problem. Also, please Check WooCommerce page settings – in WooCommerce → Settings → Advanced, confirm the Cart, Checkout, and Order Received pages are correctly assigned.
I understand how disruptive this is for your customers and your store — I tested your shop/cart/checkout flow and I can reproduce what you described: after a successful checkout the customer lands on an empty cart page instead of the Order Received (thank you) page.
Could you confirm whether you received the test order in your WooCommerce Orders list? And do other orders still arrive in the backend even when customers see that empty cart page on the frontend?
Also, was everything working fine previously, and have there been any recent plugin, theme, or core updates just before this started happening?
Please share those details and I’ll keep investigating. Let’s see how it goes!
Yes orders still arrive in backend. Im not aware of any major updates. I also tried to backup themes and plugins from 01. sep. but still nothing helps.
Endpoints are looking fine
@simonekaalund Copying that data here will not and cannot work here. It just creates a mess that has no value.
Please use https://pastebin.com/ or https://gist.github.com/ or the like instead and share a link to that paste in reply here.
Hi @simonekaalund — thanks for confirming — great to hear orders are still arriving in the back end.
To start troubleshooting, please first check your WooCommerce page settings:
- Go to WooCommerce → Settings → Advanced.
- Make sure the Checkout page is set to your checkout page and the Cart page is set to your cart page.
- Also confirm the order-received / thank you endpoint is present and not being overridden by a custom redirect from another plugin.
After that, please run the plugin/theme conflict test my colleague @shahzeenfarooq suggested: temporarily deactivate all plugins except WooCommerce and switch to a default theme (e.g. Twenty Twenty-Five or Storefront). Then try a test checkout. If the thank-you page appears correctly, reactivate your plugins and theme one-by-one to find the conflict.
Tell me what you find and I’ll keep digging.
Everything looks fine for me:
Cart page: Cart
Checkout: Checkoutpay: order-pay
order received: order-received
add payment: add-payment-methodHi @simonekaalund,
Thanks for confirming. Have you tried running a conflict as @shahzeenfarooq suggested?
Temporarily deactivate all plugins except WooCommerce and switch to a default theme (e.g. Twenty Twenty-Five or Storefront). Then try a test checkout. If the thank-you page appears correctly, reactivate your plugins and theme one-by-one to find the conflict.
Tell me what you find and I’ll keep digging.
The conflict is between wpml string and woocommerce. Any ideas how to fix it?
Hi @simonekaalund,
Thanks for catching that! Really helpful to pinpoint WPML as the culprit.
Since it seems to be a conflict between WPML string translation and WooCommerce, the best course of action now is to reach out directly to WPML’s support team so they can investigate further. I found where you can contact them: https://wpml.org/forums/forum/english-support/.
Hopefully they’ll be able to provide a fix or workaround!
thanks a lot 🙂
Hi @simonekaalund!
You are welcome, If you have a moment, we’d be incredibly grateful if you could share your positive experience with others by leaving a 5-star review on WordPress.org: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post
-
This reply was modified 2 months ago by
You must be logged in to reply to this topic.