Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can create a submitted order with total charged not matching items associated with order. #174
When a customer begins check out and finishes checkout in a different window concurrently, the order total may not accurately reflect the products in the order.
Steps to reproduce:
@TWarszawski Thanks for the details. I'm in over my head with work but I'll try to get this solved as soon as possible.
I'm thinking the best fix is to validate that the quantities in the cart and the price of the cart matches order_items when you have. If not return to the checkout page with a validation error.
Even more preferred would be to checkout with the items you are currently viewing but that could be difficult. If it isn't too hard I'll go with this option.