#Sinduri-checkout-events
1 messages · Page 1 of 1 (latest)
Hey! No events are fired when the user closes a Checkout page no
One option, you could manually expire the session and then update the status following receipt of the checkout.session.expired event
when this 'checkout.session.expired' event trigger?
Sorry I didn't get you..I've tried the above case just now but not found this event triggered
Either when the Checkout Session expires automatically (default 24hr) or when you manually call the endpoint. See: https://stripe.com/docs/payments/checkout/managing-limited-inventory#manual-expiration
Yeah it's not triggered when the customer closes the window
No events are fired then
Oh okay...then we need to wait 24 hours to get expired event right
Well you can shorten that expiry time (to 1 hour) or manually expire it after a certain amount of time. See URL above
Okay..got it ..Thank you so much
sure, np!