We do not check if the reverting of the stock and payment works in case of failure. What I can imagine is a scenario in which the stock service goes down after checking the stock. Then it finds out that the user did not have enough money to pay. Meaning the checkout should be reverted. We just never actually check that the stock gets reverted.
We do not check if the reverting of the stock and payment works in case of failure. What I can imagine is a scenario in which the stock service goes down after checking the stock. Then it finds out that the user did not have enough money to pay. Meaning the checkout should be reverted. We just never actually check that the stock gets reverted.