See the code behind this demo!

Manually expiring a Checkout Session

The default behaviour for a Checkout Session is to expire after 24 hours. However if you require greater control, you can manually expire them. Try out the example below:


Console

> Ready ...

                                      
  const session = await stripe.checkout.sessions.expire();
          
        

Experiment and learn

Make copies, remix, change and learn how to play with this tinydemo.


Any questions?

Reach out to us on any of our contact channels: