#Moh-cancel-checkout-payment
1 messages · Page 1 of 1 (latest)
I found this related SO questions
Hello! By default Checkout sessions don't automatically cancel when you leave the checkout page.
However they will expire automatically after 24 hours, and that can be changed with the expire_at parameter. https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-expires_at
If you want to manually expire a checkout session, you can use stripe.checkout.sessions.expire https://stripe.com/docs/api/checkout/sessions/expire
I would prefer they get cancelled directly since it's a booking app and they're taking space