How is payment failure or abandonment at the gateway handled (stock reservation timeout)?
If payment fails or is abandoned at the gateway, the order is held as unpaid/pending, a retry is allowed, and any stock reservation times out so reserved units are released back for others to buy if payment never completes. This prevents two problems: orphaned half-orders that block stock indefinitely, and lost sales from a customer who simply wants to retry. The order waits in…
If payment fails or is abandoned at the gateway, the order is held as unpaid/pending, a retry is allowed, and any stock reservation times out so reserved units are released back for others to buy if payment never completes. This prevents two problems: orphaned half-orders that block stock indefinitely, and lost sales from a customer who simply wants to retry. The order waits in an unpaid state, recoverable, while inventory isn't tied up forever by an incomplete checkout.