Only reducing quantity when the payment is completed