#Tahir
1 messages · Page 1 of 1 (latest)
👋 Hi there, Happy to help!
You can't delete a payment intent, but you can cancel it is in one of this status:
requires_payment_method, requires_capture, requires_confirmation, requires_action, or processing
https://stripe.com/docs/api/payment_intents/cancel
yeah the status is requires_payment_method
its causing problem in my script so i want to delete or disable this
I used this doc to cancel it but the error occurs
it says you can't cancel a payment intent made through checkout session
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request