Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Payment succeeds but no order created: how to find and fix it

CNV-209High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A payment gateway (Stripe, PayPal, Adyen, Mollie, Square and others) charges the card. Your shop then has to learn that the charge worked and create the order. That message usually arrives in one of two ways: a webhook (an automatic server-to-server call from the gateway) or the return redirect (the customer's browser coming back to your thank-you page).

Where the order gets lost
  1. Customer paysCard is charged at the gateway
  2. Gateway notifies shopWebhook or return redirect fails
  3. Order createdNo order in the shop
  4. Confirmation and trackingNo email, no purchase event
  5. FulfilmentNothing is shipped or booked

The money moves, but the message that creates the order never lands.

Why it costs you leads or sales

Paid charges vs orders recordedExample numbers
Paid charges vs orders recorded (example)Gateway charges: 50 count; Shop orders: 41 count019385041Gateway chargesShop orderscount

Example: 50 charges in the gateway in one week, but only 41 orders in the shop. The 9 missing orders are paid customers who got nothing.

How to check if your site has it

Compare the gateway with your shop
  1. Export recent successful payments

    In your gateway dashboard (for example Stripe Payments, PayPal Activity), list successful payments for the last 30 days.

  2. Export recent orders

    Export orders from your shop for the same dates, with the transaction ID or payment reference.

  3. Match them

    Look for payments with no order. Note the time, amount, payment method and device. Patterns point to the cause.

  4. Check webhook delivery logs

    In Stripe, open Developers > Webhooks and look at recent attempts. In PayPal, check Webhooks events. Look for 4xx or 5xx responses, timeouts or no attempts at all.

  5. Run a test purchase

    Place an order in the gateway's test mode, or a small real one you refund after. Check the order appears and the confirmation email arrives.

What the pattern usually means
PatternLikely cause
All payments have no orderWebhook URL or signing secret wrong, or site moved domain
Only some payments, randomWebhook timeouts, server errors or rate limiting
Only redirect methods (3-D Secure, PayPal, bank apps)Customer closed the tab before the return page, or the return URL is blocked
Started after an updatePlugin, theme or cache change; security plugin blocking the callback
Only on one device or browserReturn page script error or consent or cache issue

How to fix it

Repair the order callback by platform
  1. Re-save the gateway settings

    In WooCommerce > Settings > Payments, open your gateway and check live keys and the webhook secret. Use the webhook URL the plugin shows and confirm it is registered in the gateway dashboard.

  2. Let the callback through

    Exclude the webhook URL (for example /?wc-api=... or /wp-json/...) from page caching, and allow it in any firewall or security plugin.

  3. Check logs

    Turn on gateway logging, then look in WooCommerce > Status > Logs and the PHP error log for fatal errors during the callback.

  4. Test for conflicts

    On a staging copy, disable other plugins one at a time and repeat a test payment.

Example: idempotent webhook handler (Node.js, Stripe)javascript
app.post('/webhook', express.raw({type: 'application/json'}), async (req, res) => {
  let event;
  try {
    event = stripe.webhooks.constructEvent(
      req.body, req.headers['stripe-signature'], process.env.STRIPE_WEBHOOK_SECRET
    );
  } catch (err) {
    return res.status(400).send('Bad signature');
  }
  if (event.type === 'checkout.session.completed') {
    const session = event.data.object;
    await createOrderIfMissing(session.id, session); // safe to run twice
  }
  res.sendStatus(200);
});
Recover the orders you already lost
  1. List the orphan payments

    Use your gateway and shop comparison from the check step.

  2. Create the orders manually

    Add each order in your shop admin with the customer's details and mark it paid, or replay the failed webhook events from the gateway dashboard if it offers that.

  3. Contact the customers

    Send a short email confirming the order and the delivery date, or refund if you cannot fulfil.

How to confirm it's fixed

Confirmation checks
  • A test payment creates an order within a minute
  • The webhook log in the gateway shows 2xx responses
  • The confirmation email arrives
  • The purchase event appears in GA4 and your ad platforms
  • The order amount and reference match the gateway charge
  • Closing the tab right after paying still creates the order
  • Redirect-based methods (3-D Secure, PayPal) also create orders

How to prevent it happening again

Prevention habits
  • Create orders from webhooks, not only from the return page
  • Reconcile gateway payments with orders weekly
  • Re-check webhook URLs and secrets after a domain, plugin or theme change
  • Exclude callback URLs from caching and firewall rules
  • Set up gateway alerts for failed webhook deliveries
  • Run an automated test purchase on a schedule
How it unfolds without monitoring
  1. Day 1

    A plugin update changes the webhook URL. Payments still go through.

  2. Day 2

    Customers email asking where their order is.

  3. Day 4

    You compare the gateway with orders and find the gap.

  4. Day 4

    You fix the webhook and recreate missed orders. Example timeline.

How FunnelGuard handles this

Questions people ask

Why was my customer charged but no order was created?

The gateway took the payment, but the message telling your shop about it did not arrive or failed. The usual causes are a broken webhook, a return page that errored or was closed, or a plugin, cache or firewall blocking the callback.

How do I find payments that have no order?

Export successful payments from your gateway dashboard and orders from your shop for the same dates. Match them by transaction ID or amount and time. Any payment without an order is an orphan.

Why does Stripe show a payment but WooCommerce has no order?

Most often the Stripe webhook is not reaching your site, or it is failing. Check Developers > Webhooks in Stripe for non-2xx responses, confirm the endpoint URL and signing secret, and exclude the endpoint from caching and firewalls.

Can customers lose their order if they close the browser after paying?

Yes, if your shop only creates orders on the return page. A webhook-based setup creates the order even if the browser is closed, which is why it is the more reliable method.

How do I recover orders that were paid but not created?

List the orphan payments, then create each order manually in your admin and mark it paid, or replay the failed webhook events from the gateway. Then email the customers to confirm or refund.

Does this affect my ad tracking?

Yes. With no order there is usually no thank-you page view and no purchase event, so GA4 and ad platforms undercount sales. Fixing the order flow restores the data going forward, not the missing past events.

How can I be alerted when this happens?

Turn on failed-webhook alerts in your gateway and run scheduled test purchases. FunnelGuard runs a test purchase on a schedule, checks the order confirmation step and sends an alert if it fails.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: test purchase: order confirmation.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.