Hello,
We are using v2.0.273.021214 of OPC and it does not appear that the stock levels are validated when a customer clicks the 'Confirm Checkout' button of the OPC form. Since potential customers could be adding available stock to the cart until ordered, this causes orders to be received when there are no longer items in stock.
This scenario is created by following these steps:
1) Product A has 5 items in stock.
2) Customer 1 adds Product A to their cart with quantity of 5.
3) Customer 2 adds Product A to their cart with quantity of 5.
4) Customer 1 uses OPC to checkout which reduces the orderable quantity to 0.
5) Customer 2 uses OPC to checkout. *Here the customer should not be allowed to checkout since Product A has 0 quantity.
We verified that using Virtuemart v2.6.12.2 native checkout process that when clicking on "Confirm Checkout" in step 5 above, that the stock level is verified and the order can not be continued without lowering or removing the out-of-stock item(s). Can you verify if OPC is setup to check in stock when finalizing the checkout?
Thanks,
Chuck