New Zenner
- Join Date:
- Nov 2005
- Posts:
- 24
- Plugin Contributions:
- 0
At which stages of checkout is stock checked?
I made a modification to a shop where a product can be set to turn on at a given time and set to turn off at a given time. This is for show tickets so people have a 15 minute window to purchase.
There is also a limited number of these tickets so the stock is all setup to not allow checkout if the stock runs out, which works fine under my testing.
When this situation went live more tickets were sold than there was stock, although the product still went out of stock etc. as expected.
What I believe happened is that there were say 2 products left in stock and 3 people went to checkout at roughly the same time. If they all landed on the paypal page at about the same time and then made payment, would there have been a stock check at that stage?
So my question is, at what stage of the checkout is stock actually checked? It doesn't look like it is being checked when they pay at Paypal (IPN) so is it the final confirmation page of checkout?