#stevec-paymentintent-cancellation
1 messages · Page 1 of 1 (latest)
stevec-paymentintent-cancellation
Hey @jolly mesa ! In this situation you should cancel the PaymentIntent directly via the API https://stripe.com/docs/api/payment_intents/cancel
Gotcha. So basically record in my application's db all the payment_intents and their creation time, and run a process to cancel via the API any that are too old (e.g. 10 minutes old, for example).
Is there a way to set an expiry when creating the payemen_intent? E.g. so it will naturally exprire after that time elapses?
correct for the first part, and no, no way to schedule an upcoming cancellation today, you have to write this yourself
Cool. Thanks for the help! (and very quick too, I might add)