WooCommerce Pending Payment: Hold Stock, Auto-Cancel and What to Check
What a pending payment order really is, how the Hold stock (minutes) timer reserves and releases stock, which orders are never auto-cancelled, and a safe routine for chasing them.
In this article13 sections
WooCommerce pending payment means an order exists but no successful payment has been recorded for it. The shopper reached the point of paying and the money has not been confirmed. If you set a Hold stock time, WooCommerce can cancel such orders by itself. It does not cancel every one of them, and that is where the confusion starts.
This guide follows an unpaid order through the code in WooCommerce 11.3.1: what happens to stock, which orders the timer ignores, why a cancellation can run late, and what to check when an order stays stuck.
What a pending payment order is#
It is the starting state for an order waiting on payment. Common reasons for it to stay there are a closed browser tab at the gateway, a declined card where the gateway did not report a failure, a payment notification that never reached your site, or an order a member of staff created and has not collected money for.
It differs from On hold, which usually means you are waiting for a payment that happens outside the checkout, such as a bank transfer. Our overview of WooCommerce order statuses compares them all.
Does a pending payment order reduce stock?#
No. WooCommerce reduces stock when payment completes, or when the order moves to Processing, Completed or On hold. Pending is not on that list. You can see the hooks in wc-stock-functions.php.
The reverse also exists. If an order had already reduced stock and then moves to Cancelled, Pending or Failed, WooCommerce puts the stock back. It only does this when the order carries the marker saying stock was reduced, so an order that never reduced anything adds nothing back.
Reserved stock is a separate thing#
During checkout WooCommerce can reserve units for the order so two shoppers do not buy the last one. This is a temporary hold with an expiry time, kept in its own database table. The stock quantity on the product does not change while the hold exists. Other shoppers simply see fewer units available to them.
The hold lasts for the number of minutes in your Hold stock setting. It is released when the order is paid, cancelled, fails, or reaches Processing, On hold or Completed. Version 11.3.1 also counts holds on those later statuses until the release or expiry, which closes a gap between the status change and the stock reduction.
WooCommerce hold stock minutes: where to set it#
Go to WooCommerce → Settings → Products → Inventory and find Hold stock (minutes). WooCommerce describes it plainly: hold stock for unpaid orders for that many minutes, then cancel the pending order. Leave it blank to disable the cancellation. The default is 60.

The field sits with the stock settings for a reason. The cancellation job only schedules itself when stock management is switched on for the store and the number is at least 1. If you turned stock management off, unpaid orders are not cancelled on a timer, whatever the field says.
Which orders get cancelled, and which do not#
This is the detail most explanations miss. By default WooCommerce only cancels an unpaid order that was created through the checkout. In code, the order’s origin must be the classic checkout or the Store API that block checkout uses. Orders you add by hand in the admin are left alone.
| Order | Cancelled by the timer? |
|---|---|
| — | — |
| Pending, from classic checkout, older than the limit | Yes |
| Pending, from block checkout, older than the limit | Yes |
| Pending, created by staff in the admin | No, by default |
| On hold, waiting for a bank transfer | No |
| Processing or Completed | No |
Developers can change the choice with the woocommerce_cancel_unpaid_order filter. If your admin-created orders do disappear, or checkout ones never do, search your custom code for that name. The logic is in wc-order-functions.php. A cancelled order gets a note that reads Unpaid order cancelled, time limit reached.
Why the cancellation can arrive late#
The job is not a stopwatch attached to each order. It runs, schedules its own next run one interval later, then looks for unpaid orders older than the limit. By default the interval equals the hold time.
Take a 60 minute limit. The job runs at 10:00. An order placed at 09:05 is only 55 minutes old, so it survives. The next run is due around 11:00, when the order is 115 minutes old. It is cancelled then. So an order can live for nearly twice the limit even when everything works.
It can be later still if scheduled tasks are not running. On a quiet shop that relies on visits to trigger WordPress cron, the queue may wait. Look under WooCommerce → Status → Scheduled Actions for woocommerce_cancel_unpaid_orders and check for past-due entries.
Choosing a time limit#
A short limit frees stock quickly but can cancel a slow, honest payment. A long limit protects slow payers and ties up your last units for longer.
- Selling scarce or one-off items: keep it short enough that abandoned holds do not block real buyers.
- Using a gateway that redirects to a bank or sends a payment code: allow enough time for the whole process.
- Taking most payments by card on page: the default hour is usually a sensible place to start.
Before changing it, ask your gateway how late a confirmation can arrive. A payment confirmed after the order was cancelled needs a human to reconcile money and stock.
An order is stuck on pending payment: what to check#
- Open the order and read the notes from top to bottom. Gateways usually record what they received.
- Look in your gateway’s own dashboard for the same amount and time. Did the money arrive?
- If it did, the notification to your site likely failed. Check the gateway’s webhook log for errors.
- Check whether a firewall or security plugin blocks the gateway’s requests.
- Check the gateway log under WooCommerce → Status → Logs.
- If the money did not arrive, treat it as an abandoned payment.
Never move an order to Processing on the strength of a customer’s screenshot. Confirm the money in your own account or gateway first, because that status change reduces stock and tells your team to ship.
Chasing unpaid orders without annoying people#
For orders created by phone or email, you can send the customer a payment link from the order screen using the order actions. Give a clear date after which you will release the goods. Then keep to it.
For checkout orders that never completed, be careful. Some shoppers retried and paid on a second order. Search by email address before writing, otherwise you ask a paying customer to pay again.
A worked example: one unit, two shoppers#
You have one lamp. Hold stock is 60 minutes. Shopper A reaches payment at 14:00 and closes the tab. The product still shows a quantity of 1 in admin, because nothing was sold. The hold makes it unavailable to shopper B at checkout until the hold is released or expires.
If you only watch the quantity field you will think the shop is broken. It is not: one unit is reserved. Check for a recent pending order on that product before changing the quantity, or you may sell the lamp twice.
Keeping unpaid orders visible with StoreRuler#
StoreRuler is a free WooCommerce order management plugin on WordPress.org. Its order desk lists every order by stage, and you can filter by payment status, date and sales channel, then save that filter as a view for yourself or the team. Its Today screen lists orders waiting to be prepared or paid.

An order page shows the next step, the payment summary and the order’s activity in one place. StoreRuler does not change how WooCommerce times out unpaid orders, and it does not send payment reminders in the free version. Manual and phone orders and payment collection tools belong to StoreRuler Pro.
A short weekly routine#
Once a week, filter to unpaid orders older than a day. Sort them into three groups: paid at the gateway but not updated, created by staff and still awaiting money, and abandoned. Fix the first group and then its cause. Chase or cancel the second. Leave a note on anything you cancel by hand.
If the first group is ever more than one or two orders, treat it as a gateway integration fault. Items sold ahead of stock follow their own flow, covered under backorders. Cancelled and abandoned checkouts are normal; the patterns behind abandoned carts are a different job. Refunds for orders that were paid belong in the refund process, not in a status edit.
WooCommerce pending payment: frequently asked questions#
Does a pending payment order take stock in WooCommerce?
It does not reduce the product quantity. Checkout can place a temporary reservation on the units for the Hold stock period, which stops other shoppers buying them while it lasts. The quantity only falls when payment completes or the order reaches Processing, Completed or On hold.
Why are my pending orders not being cancelled?
Check that stock management is enabled, that Hold stock holds a number of at least 1, and that the order came from checkout, since admin-created orders are skipped by default. Then look in Scheduled Actions for past-due cancellation jobs, which point to a cron problem.
Why was a pending order cancelled later than my time limit?
The cancellation job runs at intervals and only cancels orders already older than the limit when it runs. By default the interval matches the limit, so an order can survive for almost twice that long, and longer if scheduled tasks are delayed on your site.
Can I turn off automatic cancellation?
Yes. Clear the Hold stock (minutes) field under WooCommerce, Settings, Products, Inventory and save. Unpaid orders then stay pending until you act. Remember that you will need a routine for reviewing them, or old unpaid orders will pile up in your list.
What is the difference between pending payment and on hold?
Pending payment is an order still waiting for the payment step to succeed, and it does not reduce stock. On hold usually means you expect payment by an offline method such as bank transfer. On hold does reduce stock and is not cancelled by the Hold stock timer.
