#nicosayer - PaymentIntent
1 messages · Page 1 of 1 (latest)
Hi there!
Yes it should be with https://stripe.com/docs/api/payment_intents/cancel
A PaymentIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action, or processing.
The documentation seems to say it is possible but I keep getting this error :
StripeInvalidRequestError: You cannot cancel this PaymentIntent because it has a status of processing. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action.
Is there a mistake in the documentation or do you think it is possible ?
Strange. Can you share the PaymentIntent ID?
Sorry but I don't feel safe sharing a PaymentIntent ID. What do you want to check ?