hyva-themes / magento2-react-checkout

Highly Customizable Checkout for Magento 2, Built with React.
BSD 3-Clause "New" or "Revised" License
180 stars 54 forks source link

The current customer isn't authorized. issue after customer logged out and trying to complete checkout as guest #310

Closed ilker-capli closed 2 years ago

ilker-capli commented 2 years ago

Steps to reproduce:

"The current customer isn't authorized."

rajeev-k-tomy commented 2 years ago

Thank you for reporting this issue. This scenario needs to be tested. However, when we logout it is good we need to flush the hyva_checkout_storage as well. I think that is currently missing

ilker-capli commented 2 years ago

Thank you for reporting this issue. This scenario needs to be tested. However, when we logout it is good we need to flush the hyva_checkout_storage as well. I think that is currently missing

This approach fixes the issue as a workaround. But also need to handle expired sessions.