I'm using payu for Payment and it works good. When customer place an order, it goes to payu page to fill the details. If the customer don't want to pay, they simply close the window.
If the browser window is closed, the order status become still "pending" or "processing". The problem is the stock availability and quantity couldn't revert. I just found the solution to cancel the order using cron job after some time interval.
I reffered the links,
I'm using magento 1.9.1 and couldn't find the better solution. Please help me here.