Hi Thomas,
I'm testing my site with one product with quantity as one. I'm facing an issue during the checkout process.
This is not an issue with the contribution itself but this is an additional feature request.
On the checkout_confirmation page when there are two people htting the "Continue" button
simultaneously then the order goes through for both. This reduces my product quantity to -1.
Since I have no more of this product there is no way that I can fulfill this order.
I did some investigating into the code and looks the checkout_process.php needs to be modified.
The stock should be updated immediately after the payment is received, maybe, after the line "$payment_modules->before_process();".
I would appreciated any comments on this approach.
Thanks,
Naushad