WooCommerce Payments1 views

How to Fix WooCommerce Orders Stuck in Pending Payment

Use order notes, gateway evidence, webhooks, callbacks, scheduled actions, and safe staging tests to resolve WooCommerce orders that remain in Pending payment.

How to Fix WooCommerce Orders Stuck in Pending Payment topic illustration

Quick answer

Do not manually mark a WooCommerce order paid until the gateway confirms a successful charge. Start with order notes, gateway logs, webhook or IPN delivery, callback URLs, scheduled actions, and any cache or firewall rule that can block gateway communication.

What Pending Payment Means in WooCommerce

Pending payment means WooCommerce has received the order but payment has not been made; it generally awaits customer action. Offline methods such as bank transfer commonly use On hold while the store confirms payment, and a gateway's exact status flow may differ. Investigate when the provider confirms a captured payment but the WooCommerce order does not move to the expected paid status.

  • Normal pending state: the customer has not completed payment; check the gateway's expected order-status flow before treating it as stuck.
  • Problem state: gateway success exists but WooCommerce did not receive or process the confirmation.
  • Risk state: stock, fulfilment, customer emails, recovery messages, or support workflows are acting on incomplete order evidence.

Check the Order Notes First

Open the WooCommerce order and read the private order notes before changing status. Order notes often show whether WooCommerce created the order, sent the customer to the gateway, received a failed payment response, received no response, or later received a webhook that did not change the state.

  1. Record the current order status, payment method, transaction ID, customer email, order total, and order creation time.
  2. Look for notes from the gateway extension, webhook processor, IPN listener, or Action Scheduler job.
  3. Compare the order creation time with the gateway event time. Time-zone differences can make a valid event look missing.
  4. Do not delete notes or retry blindly; preserve the evidence for gateway support if the provider charged the customer.

Verify Whether the Gateway Charged the Customer

The safest next step is to check the payment provider dashboard. A WooCommerce order should not be marked paid only because a customer says they checked out, and it should not be cancelled if the provider captured funds. The gateway is the payment authority; WooCommerce is the commerce record that must be reconciled with it.

Pending WooCommerce order notes and an undecided payment-provider event are compared while fulfillment remains behind a closed gate.
Compare the order timeline with provider evidence before changing an order to paid or releasing fulfillment.
  • If the gateway shows no authorization or capture, treat the order as unpaid and investigate checkout abandonment or payment failure.
  • If the gateway shows a successful charge with a matching transaction ID, investigate why WooCommerce missed the confirmation.
  • If the gateway shows a failed, expired, refunded, or disputed transaction, keep the WooCommerce order state consistent with that evidence.
  • If the gateway shows duplicate attempts, preserve both event IDs before changing stock or fulfilment state.

Review Gateway Logs, Webhooks, IPN, and Callback Delivery

A missing, delayed, blocked, or rejected gateway confirmation is one possible cause of a stuck pending-payment order. Check the gateway extension logs in WooCommerce, then compare them with the provider dashboard event log.

  1. Confirm the webhook, IPN, or callback endpoint is configured for the live site URL, not staging, localhost, an old domain, or a temporary migration URL.
  2. Confirm the provider event shows a 2xx response from your site. Repeated 3xx, 4xx, 5xx, timeout, or TLS errors point to a delivery problem.
  3. Check whether a security plugin, WAF, CDN rule, basic auth prompt, maintenance mode, or bot rule blocked the gateway callback.
  4. Check whether the gateway secret, signing key, merchant ID, live/test mode, or currency configuration changed recently.
  5. If the provider supports replaying webhook events, replay only after fixing the delivery problem and preserving the original event ID.

Check Action Scheduler and Background Jobs

Some WooCommerce extensions process gateway events, stock changes, emails, subscriptions, or retries through scheduled actions. If WP-Cron is disabled, blocked, overloaded, or replaced by a failing server cron, payment confirmations may arrive but related processing can lag or fail.

  • Review WooCommerce Status > Scheduled Actions for failed, pending, or long-running payment-related actions.
  • Check actions around the order creation time and gateway event time, not only the newest failures.
  • Fix the underlying job runner problem before bulk-running actions, especially on a busy store.
  • If a queue is large, process in controlled batches and monitor PHP memory, timeout, and database load.

Check Configuration, Cache, and Firewall Interference

After the order evidence and gateway evidence are clear, check site-side settings that can prevent a valid payment response from reaching WooCommerce. Focus on payment routes and checkout behavior, not unrelated admin or theme symptoms.

  • Confirm the payment gateway is enabled, using the correct live credentials, and assigned to the right currency and store country.
  • Exclude checkout, cart, account, webhook, callback, and REST endpoints from page cache and aggressive CDN caching.
  • Allow provider IP ranges or signed webhook verification when the gateway documents that requirement.
  • Check recent changes to permalink settings, SSL, domain redirects, security rules, and maintenance mode.
  • Use staging for reproduction when possible, but never test with live keys on a public staging URL unless the gateway explicitly supports that workflow.

Gateway-Specific Notes

Each gateway has its own event names, retry behavior, and status mapping. Keep the investigation tied to the provider evidence rather than applying one generic WooCommerce fix to every payment method.

  • Stripe-style card flows usually require matching the PaymentIntent, charge, event ID, webhook signing secret, and WooCommerce order note timeline.
  • PayPal-style off-site flows often depend on return URLs plus IPN or webhook delivery. A customer returning to the thank-you page is not always the same as confirmed payment.
  • Manual payment methods can remain pending by design. In that case the fix is an operational review, not a gateway repair.
  • Subscription, deposit, or wallet extensions may add extra scheduled actions or renewal states that need separate evidence.

Use Conflict Testing Only When Evidence Points There

Plugin or theme conflicts can cause payment confirmation failures, but they should not be the first guess. Run conflict tests when logs show blocked callbacks, JavaScript checkout errors, broken REST routes, fatal errors, or a recent extension/theme update around the failure window.

  1. Clone the issue to staging with sanitized data where possible.
  2. Keep the active gateway extension, WooCommerce, and required checkout dependencies enabled.
  3. Disable only likely interfering cache, security, checkout, currency, tax, or gateway-related extensions first.
  4. Run a small order on staging with gateway test mode and compare order notes, provider event logs, and webhook responses.
  5. If the issue disappears, re-enable candidates one at a time and document the exact conflict.

If the pending order appeared after a theme update, check which payment step failed before rolling the theme back. A browser JavaScript error or outdated checkout template override can interrupt checkout before the gateway receives a request; WooCommerce > Status > System status lists theme template overrides and flags outdated ones. On staging, repeat the same cart and gateway test with a supported default theme while keeping the payment extension and gateway mode constant. If the provider already captured payment and only a later callback failed, focus on that delivery or validation event instead of assuming the theme caused it. Preserve the original order and provider event before any retry.

Do Not Mark an Order Paid Until Payment Is Verified

Manual status changes can be necessary for fulfilment, but they should follow payment evidence. Marking an unpaid order Processing can ship goods without payment; cancelling a paid order can create duplicate support, refund, or chargeback work.

Verify the Fix and Prevent Repeat Incidents

  1. Run a test order on staging with the affected gateway in test mode and confirm the order leaves Pending payment without manual action.
  2. Confirm the provider dashboard shows successful webhook or callback delivery with a 2xx response.
  3. Confirm order notes include the expected transaction ID or event reference.
  4. Check that stock, emails, fulfilment, and recovery workflows reflect the final order state.
  5. Document the gateway settings, callback URLs, cache exclusions, firewall allowances, and owner responsible for future payment incidents.

Prevention is mostly operational discipline: keep gateway credentials documented, avoid unplanned checkout changes during sales, monitor failed and pending order patterns, and review payment logs after plugin, theme, CDN, or SSL changes.

References

Frequently Asked Questions

Should I manually change Pending payment to Processing?

Only after the payment provider confirms a successful authorization or capture. Add an internal order note with the transaction or event evidence before changing the status.

Can a manual payment method stay Pending payment normally?

Check the method's expected status flow. Pending payment generally means the customer has not paid; offline methods such as bank transfer commonly use On hold while the store verifies payment. A gateway or custom checkout may behave differently.

What usually causes paid orders to stay pending?

Possible causes include missing webhook or IPN delivery, wrong callback URLs, live/test credential mismatch, blocked provider requests, gateway extension errors, or delayed scheduled actions. Confirm the cause against the order and provider evidence.

Editorial trust

Last reviewed
Next review
Sources
5 cited references
Review editorial policy

Problem, cause, fix, verify

Problem

Do not manually mark a WooCommerce order paid until the gateway confirms a successful charge. Start with order notes, gateway logs, webhook or IPN delivery, callback URLs, scheduled actions, and any cache or firewall rule that can block gateway communication.

Why it matters

Symptoms, likely causes, checks, fixes, and verification steps.

Safe check

Confirm the visible symptom

Verify

Change one reversible setting at a time

Diagnostic guide

Use this when the cause is still unclear

Symptoms, likely causes, checks, fixes, and verification steps.

WooCommerce Payments
Confirm the visible symptom
Separate browser, plugin, theme, server, and WooCommerce causes
Change one reversible setting at a time

Share this guide

Send it to your team

Choose a platform to open a draft with this guide. For Facebook and LinkedIn, paste the suggested caption into the post box; their buttons copy it when your browser allows.

Suggested post

Useful guide: How to Fix WooCommerce Orders Stuck in Pending Payment

https://wplura.com/blog/fix-woocommerce-orders-stuck-pending-payment

Strictly necessary

Always active

Required for security, requested SiteCheck workflows, and remembering your cookie choice.