#_sidharth
1 messages · Page 1 of 1 (latest)
Hello! Yes the sessions expire after 24 hours by default: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-expires_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes
ok then
One more question please. I have also implemented a webhook to track the events. In that I'm tracking checkout.session.async_payment_failed , checkout.session.async_paymnet_succeeded,
checkout.session.completed,
checkout.session.expired
I am not getting this idea of async payment, like what does it actually mean with respect to Stripe.Checkout
Are you handling any non-card payments, like banking? This doc explains it: https://stripe.com/docs/payments/checkout/fulfill-orders#delayed-notification
no just card and UPI payments
Then it's likely not necessary. Those events are only required if you're handling async PMs that don't immediately succedd once the session is complete
Awesome..thanks a ton ynnoj!
I hope then session.complete and session.expired is only needed
like is there anything I missing to track of in case of a failure
Depends what you mean by 'failure'?
what if a user uses an inactive card with no balance(in case of debit)?