Closed TWarszawski closed 7 years ago
@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.
@sullivanLi feel free to give this bug a try. This solution shouldn't try anything too fancy. It's possible to create a complex solution here that does cool stuff but simple is best IMO.
Solved by @sullivanLi Thank you
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:
Expected Result: The amount charged matches the sum of the totals for each item in the cart.
Actual Result: The amount charged reflects the total of the original items in the cart, but when examining the order page the updated items are shown to be associated with the order.