Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello,
I have an issue when the user proceeds to check out as guest. If the user cancels the checkout and then goes back to the store and try to buy anything, clicking checkout redirects them to the home page.
It seems the Checkout is still being held in cache and is deleted so when the user tries to checkout it references the old instance.
It's ok when the user clears the browser's cache, but is there a way to detect if the checkout object is no longer valid etc?
Appropriate any help.