#vilesa
1 messages · Page 1 of 1 (latest)
Hi there!
While creating the PaymentIntent you can't specify such an option.
But an alternative way, is to listen to this webhook event payment_intent.payment_failed:
https://stripe.com/docs/api/events/types#event_types-payment_intent.payment_failed
Once received, you cancel that PaymentIntent immediately by your integration using Stripe APIs:
https://stripe.com/docs/api/payment_intents/cancel
ok thanks!