Need possible use cases for a scenario in magento 2
when a customer places an order during checkout after entering place order stock from inventory gets reduced then customer moved to payment gateway for payment, but in case if a customer is not paying, the stock reduced remains the same until admin manually cancels the order from backend, I need use cases to alter the backend to remain the stock no mater customer pays or not and reduce it once the order is completely processed.
Thanks in advance