#Hero
1 messages · Page 1 of 1 (latest)
hello! you need to set a cron job to track when to cancel the PaymentIntent
alternatively, if you choose to use Checkout Sessions, you can define when it expires : https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-expires_at
does a checkout session also provide a client secret to send back to the frontend to complete the payment?
because it seems that Chekout Session can only be used with prebuilt payment pages, and not with custom payment flows
it's a prebuilt payment page. It's not meant to be used with custom payment flows unfortunately