Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I am creating checkout URL using Storefront API. I want set the expiration time for that URL, say 2 hours, so that user will not able to get back to the cart & continue the purchase process after 2 hours.
How can I set the expiration time?
Hey @K0011 - there's currently not a way to set an expiration time on a checkout. One of my colleagues has a good breakdown of how abandoned checkout URLs work here if you wanted to take a look.
That said, I'll forward your post on to our product team. This is an often asked for feature, so I'm happy to send your use case. I can't guarantee anything specifically, but I will submit a report on your behalf.
Hope this helps!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog