WooCommerce’s Hold Stock setting controls how long a submitted order in Pending payment can keep managed stock reserved. An expired reservation can free stock before the unpaid-order cleanup changes the order to Cancelled. Check availability and order status separately. An order marked On hold follows a different process.
Find the order status first
Open the order in WooCommerce → Orders and record the status, order notes and product variation if there is one. In WooCommerce → Settings → Products → Inventory, check whether stock management is on and what number is entered for Hold Stock (minutes).
| Status | What to check |
|---|---|
| Pending payment | Use the Hold Stock setting and confirm the active payment method still shows the order as unpaid. |
| On hold | Review the payment method and order notes. An offline payment can be waiting for confirmation. This status isn’t cancelled by the Pending payment timer. |
| Cancelled | Check the product or exact variation and verify that the stock is available to a new shopper. |
See the WooCommerce order statuses guide if the order has already moved to another state.
Test one item on a staging store
In a worked example, a Malaysian cookware shop puts one unit of a saucepan in stock on staging and sets Hold Stock to 15 minutes. It disables backorders and uses a test payment method that leaves a submitted order in Pending payment. After submitting the order, record its ID and creation time. In a separate private session, check whether another shopper can proceed through checkout for the same unit before the hold expires. A checkout availability check is more informative than the product page’s stock badge.
Check the original order after the hold period and after the unpaid-order task runs. In the second session, repeat the checkout check without completing a payment and record when the item becomes available. Note separately when the original order changes to Cancelled. Compare customer availability with the product’s stored quantity. A reservation can affect what another shopper can buy even if the product’s stored quantity hasn’t changed.
Trace overdue cancellations
If the status is still Pending payment, check for an overdue or failed cleanup task. In WooCommerce → Status → Scheduled Actions, look for woocommerce_cancel_unpaid_orders if your version schedules that hook there. Check its latest run and any errors. If your store uses WP-Cron directly for cleanup, check with the host or maintainer. If the runner is delayed, use the WordPress scheduling guide for the relevant runner checks.
If the order moved to On hold or the payment system has recorded payment, review the payment and order notes before releasing stock. After adjusting the relevant setting or fixing the runner, repeat the test with a fresh order on staging. Record both when the item becomes buyable and when the order changes status.
Frequently asked questions
What happens if Hold Stock is blank?
Leaving it blank disables this unpaid-order timeout. That can leave unpaid orders for manual or separate gateway handling.
Does the timeout cancel an On hold order?
No. Look into the gateway or offline payment workflow to decide if the order should be kept or cancelled.
Can I test the timeout by adding a product to the cart?
Submit a test order and verify that it reaches Pending payment. The checkout can reserve stock at a different stage, so the cart alone isn’t an equivalent test.

