On this page
What this issue is
The order confirmation page (also called the thank you or order received page) is what a customer sees right after paying. It should show the order number, items and next steps. This issue means that page loads blank (a white screen), shows an error such as 404, 500 or a plugin message, or hangs on a spinner, even though the payment may have gone through.
Why it costs you leads or sales
- CartCustomer adds items
- Checkout and paymentCard charged
- Confirmation pageBlank or error
- Purchase trackingTags never load
- Confidence and repeat ordersCustomer unsure it worked
The payment succeeds, but the confirmation page fails, so everything after it is lost.
Example: 100 real orders, but the broken page stops the purchase tag on a share of them, so reports undercount.
How to check if your site has it
Place a test order
Use your store's test mode or a cheap test product with a payment method you can refund. Do the whole journey, including any bank or wallet redirect.
Watch what loads
Note whether the page is blank, shows an error, or redirects somewhere else. Check the order number is visible.
Open the browser console and Network tab
Press F12. Look for red JavaScript errors and for requests with a 4xx or 5xx status. Check the main document status code.
Check server logs
A blank white page is often a PHP fatal error. Look in your host's error log or WordPress debug.log for entries at the time of the order.
Test other payment methods and devices
Try PayPal, Apple Pay, bank redirect and a mobile browser. The failing one often points to the cause.
| Symptom | Likely cause | Where to look |
|---|---|---|
| White screen, no content | PHP fatal error or a script crash | Server error log, debug.log |
| 404 page | Gateway return URL wrong or page deleted or permalink issue | Payment gateway settings, permalinks |
| 500 error | Plugin or theme conflict, memory limit | Server log, disable plugins |
| Spinner never ends | Blocked or failing script or API call | Console and Network tab |
| Page loads but empty order details | Cached page or missing order key | Cache rules, URL parameters |
How to fix it
Turn on debug logging
In wp-config.php set WP_DEBUG and WP_DEBUG_LOG to true and WP_DEBUG_DISPLAY to false, place a test order, then read wp-content/debug.log for the fatal error.
Check the Order received page
In WooCommerce, go to Settings > Advanced and confirm the Checkout endpoints (Order received) are set. Make sure the Checkout page contains the [woocommerce_checkout] shortcode or block.
Exclude checkout pages from cache
In your caching plugin and host cache, exclude the checkout, cart and order-received URLs (/checkout/, /checkout/order-received/*).
Rule out conflicts
Switch to a default theme and disable plugins other than WooCommerce and your payment gateway, then re-enable them one by one.
Resave permalinks
Go to Settings > Permalinks and click Save Changes to refresh rewrite rules if the page returns 404.
Check Additional scripts and checkout apps
Order status page customisations can break the page. In Settings > Checkout and customisation, review custom scripts and checkout apps, and remove any you recently added.
Review Customer events pixels
In Settings > Customer events, disable custom pixels one at a time to see if one crashes the thank you page.
Disable post-purchase apps
Upsell and survey apps run on the confirmation step. Turn them off temporarily and re-test.
Contact the app or payment provider
If the error appears only with one payment gateway, the gateway's return handling may be at fault. Check its status and support.
Use Preview mode on the thank you page
Run Tag Assistant on a test order and see which tags fire on the confirmation page.
Find the crashing tag
Pause Custom HTML tags that fire on the order page, publish to a test workspace and re-test. A faulty script can break rendering.
Add error handling to custom code
Wrap custom JavaScript in try/catch so one failure does not stop the page.
Check the Order confirmation page
In the Designer, open the Ecommerce pages and confirm the Order confirmation page exists and is not empty or hidden.
Review custom code
Check Project settings > Custom code and page-level code for scripts that error on the confirmation page.
Publish and re-test
Publish the site, then place a test order in Stripe test mode if available.
Check the order form's redirect
In the funnel step or order form settings, confirm the thank you step or redirect URL is set and published.
Confirm the next step exists
Make sure the thank you page in the funnel is not deleted, unpublished or pointing to a wrong domain.
Review custom code
Check header, footer and page tracking code on the thank you step for errors.
Check the Thank You Page
In the Wix editor, open Wix Stores or Wix Pricing Plans pages and confirm the Thank You page is present and not hidden.
Review custom code
In Settings > Custom code, check scripts set to load on the thank you page.
Test the payment methods
Re-test with each payment provider you have connected.
Check Code Injection
In Settings > Developer Tools > Code Injection, look at the Order Confirmation Page field and remove scripts that may error.
Remove custom code temporarily
Clear that field, place a test order, then re-add code in small pieces.
Check the payment connection
Confirm Stripe or PayPal is connected under Commerce > Payments.
Fix the return URL
Make sure the success URL sent to your payment provider points to a live route and includes the session or order id it needs.
Handle missing orders gracefully
If the order is not yet saved (webhook delay), show a pending message and retry instead of throwing an error.
Read the application log
Find the exception for the confirmation route and fix the null value, missing template or failing API call.
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );Broken
- Blank page or error after payment
- No order number shown
- Purchase tags do not fire
- Customers email support or pay twice
Fixed
- Page loads with order number and items
- Clear next steps shown
- Purchase tags fire once
- Fewer support tickets
How to confirm it's fixed
- A test order ends on a page that loads fully with the order number
- The page returns a 200 status in the Network tab
- No red errors in the browser console
- Every payment method you offer lands on the page
- It works on mobile and desktop
- The purchase event shows once in GA4 DebugView or your ad platform's test tool
- Reloading the page does not show an error
How to prevent it happening again
- Test a full order on staging before updating checkout-related plugins or themes
- Add new scripts to the confirmation page one at a time
- Keep checkout and order-received URLs out of page caches
- Review payment gateway return URLs after any domain or permalink change
- Run a scheduled test purchase so a break is caught within a day, not by a customer
Day 0
A plugin update introduces an error on the order page
Day 0
Customers pay and see a white screen
Day 1
Support emails ask if orders went through
Day 3
Ad reports show fewer sales than your store
Day 3
Cause found and update rolled back
How FunnelGuard handles this
Questions people ask
Why is my order confirmation page blank after payment?
A blank page is most often a PHP fatal error or a JavaScript crash caused by a plugin, theme or custom script on that page. Check your server error log (or WordPress debug.log) at the time of a test order, then disable recent plugins or scripts one by one to find the culprit.
Why does my thank you page show a 404 after checkout?
The payment gateway is probably sending customers to a URL that no longer exists. Check the success or return URL in your gateway settings, confirm the page is published, and on WordPress resave permalinks under Settings > Permalinks.
If the confirmation page is broken, did the customer still pay?
Often yes. The payment usually completes on the provider's side before the redirect. Check your orders list and payment dashboard rather than assuming the order failed, and email affected customers to confirm.
How do I fix the WooCommerce order received page being blank?
Turn on WP_DEBUG_LOG, place a test order and read wp-content/debug.log for the fatal error. Also exclude the checkout and order-received URLs from caching, and test with a default theme and only WooCommerce plus your gateway active.
Can a tracking script break the order confirmation page?
Yes. A faulty custom HTML tag in Google Tag Manager, a pixel or a survey app can throw an error that stops the page from rendering. Pause those scripts one at a time in preview mode and re-test.
Why does the confirmation page only fail for some payment methods?
Methods that redirect away from your site, such as PayPal or bank transfers, rely on a return URL and order key. If that URL is wrong or gets altered by a redirect or cache rule, only those customers see the error. Test each method separately.
How can I monitor my order confirmation page automatically?
Use synthetic monitoring that runs a test purchase on a schedule and checks the confirmation page. FunnelGuard does this after the test purchase step and alerts you with a screenshot if the page is blank or errors, provided your store's test mode is set up.
Related issues
- CNV-221Purchase event missing or fired twiceFix guide
- CNV-219Order confirmation email not sentFix guide
- CNV-226Post-purchase survey breaks confirmation pageFix guide
- CNV-225Order not reaching fulfilment/ERPFix guide
- CNV-222Download link for digital product brokenFix guide
- CNV-220Order email shows wrong totals or itemsFix guide