The checkout stopped working after logging in on another browser's tab.
Scenario:
- Fill the cart and proceed to the checkout page.
- Go to the other browser's tab and logged in there.
- Go back to the checkout on the first tab and try to complete the order.
Result: Magento says "No such entity with cartID = null".
see https://youtu.be/CEDZWR1Nj5U
It's normal behavior? I understand that the cart on the first tab is deactivated after logging in, however, I would expect that the checkout page will be refreshed after trying some action on the deactivated cart. Is there some solution how to avoid this?
Viral Patel
1,1001 gold badge8 silver badges17 bronze badges
asked May 16, 2023 at 7:37
-
No it's not normal behavior there is something wrong with your MagentoViral Patel– Viral Patel2023年05月16日 08:24:28 +00:00Commented May 16, 2023 at 8:24
-
Check for extensions or customizations: If you have recently installed any third-party extensions or made customizations to your Magento 2 installation, they might be causing conflicts. Disable any recently installed extensions temporarily and test the checkout process again to see if the error persists.Pruthvi Raval– Pruthvi Raval2023年05月16日 12:00:31 +00:00Commented May 16, 2023 at 12:00
-
1The behavior you're experiencing is expected in Magento. When a customer logs in from another browser tab or session, it invalidates the cart associated with the previous session, which leads to the "No such entity with cartID = null" error when trying to complete the order. By design, Magento doesn't automatically refresh the checkout page or prompt the user to update their cart after logging in from another session. This behavior helps prevent potential conflicts and inconsistencies between multiple sessions.Pushpendra Singh– Pushpendra Singh2023年06月29日 15:36:02 +00:00Commented Jun 29, 2023 at 15:36
-
@PushpendraSingh Yes, I agree. We solving it so that if frontend detects "No such entity with cartID = null" the reloads the page which customer gets the correct session id and can proceed further.Jiří Chmiel– Jiří Chmiel2023年06月30日 06:17:52 +00:00Commented Jun 30, 2023 at 6:17
default