Closed
Description
Preconditions
- Ability to process requests at same time. (in our case, we had use 2 different Client's system.)
Steps to reproduce
- Login as a User
- Add items to cart and proceed through checkout.
- Select Any payment method. Not click on place order button
- Now login to the same account in another system.
- And proceed to checkout with the same items. Not click on place order button.
- Now you have to click on place order at the same time with both the systems.
Observe order confirmation screen of both systems. (usually first time you will get an error about constraint violations. Try to repeat steps 1-6 again. Issue reproduces 100% from the second attempt)
Depending on your infrastructure, this bug may be challenging to reproduce. It requires all of the "Place order" button clicks to be processed concurrently by Magento. You will not see the bug if Magento is processing requests sequentially (as the second request will reference a cart ID that no longer exists).
Expected result
A single order has been placed.
Alternatively, if multiple requests are unavoidable: Only the first request to be processed.
Actual result
Two different orders have been placed with very few seconds as time difference with same quote Id.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedThis generally occurs in cases when the entire functionality is blocked.Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Done