#MICOZ-session-expiration
1 messages · Page 1 of 1 (latest)
shiet
I think you can expire the Session manually prior to an hour
how?
but i should manage all live sessions
Is it possible in a future update to insert a value less than one hour?
You can't update a Checkout Session after created. You would expire manually using https://stripe.com/docs/api/checkout/sessions/expire
because I don't understand why it can't be less than 1
got it
Thanks I think I will keep my checkout flow with your apis
Without adding a checkout session page
Gotcha. With Elements you will have more control here.
Happy to help talk through any problems you encounter. That said, what is the need for expiring a Checkout Session sooner than an hour?
because my software is very limited and when I do some fcfs drop I have many people who want to buy the product even if the availability is less than the demand
so if a person manages to have a private session but does not pay for the product, the others should wait an hour to wait for a new session to become active
i would like to set 5 min
Gotcha. Yeah I don't think Checkout is really a good use-case then here. If you expire the Session when the customer has already been redirected then it will likely not be a great customer experience. Elements will allow you to show a more customized message if you run out of inventory.
so as not to hold my users too much during our launches