Hi @amalieutzinger,
I understand how frustrating it must be to have the order go through but still end up with a 404 page on the order confirmation. No worries, I’ll help you get this sorted.
A 404 on the “order-received” page usually means WooCommerce is having trouble recognizing the page slug or something’s interfering with the endpoint. Since you’ve already tried resaving permalinks and updating the page, here are a few things to check next:
- Confirm that the Checkout endpoints are correct under WooCommerce → Settings → Advanced. The “Order received” endpoint should be set to order-received (case-sensitive and no extra slashes or spaces).
- Verify the page assignment: Go to WooCommerce → Settings → Advanced and make sure the correct page is assigned for “Checkout.”
- Check for plugin or theme conflicts: Try temporarily switching to the Storefront or Twenty Twenty-Four theme and disabling all other plugins except WooCommerce to rule out a conflict.
- Flush rewrite rules manually: Sometimes resaving permalinks isn’t enough. You can add this temporarily to your functions.php:
flush_rewrite_rules();
Then reload your site once and remove the line.
Here’s a helpful guide that walks through how to configure your WooCommerce pages: https://woocommerce.com/document/woocommerce-pages/
Feel free to let us know how it goes, or if you run into any other problem.
It’s been a while since we heard back from you for this reason we are closing this thread.
If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick review here:
https://wordpress.org/support/plugin/woocommerce/reviews/#new-post
Feel free to open a new forum topic if you run into any other problem.