If we do it right before the person add payment details, if the payment failed, we have to pay extra attention to the qty
We can also do it after he add the payment info and after the IPG verify them. But before we confirm the order (The user will be charged only if we confirm).
The second method seems to be better but is it good for the user?
But if you don’t deduct immediately when they put the article in their basket, then how do you handle the situation of another client wanting to buy the same article? The fastest gets it and the other at some point of the payment process gets a message saying the article is out of stock?
Yep… that’s the problem If we deduct immediately and the client does not proceed, other people won’t be able to buy the product if he add all the available items!