Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I'm creating some checkout using the Storefront API. Everything seems to work well, and I get the webUrl along with the ID.
Now, I need some checkouts to expire after 5 minutes (as an example), or sometimes I need to invalidate some checkout URLs, but I don't see a clear way to do this in the Storefront API docs.
Is there a way to invalidate a checkout?
Thank you so much!
Have you looked into closing an order? This can't be done using the Storefront API and requires a Server accessing the Admin API.
Well, is it an app that you're building that keeps track of the checkout id? If so, couldn't you just forget the Id and request new?
Did you find a solution for this?
Sadly, no.
Ah that's unfortunate! Thanks anyway