#mindsetinmeta
1 messages · Page 1 of 1 (latest)
If you're using separate authorisation and capture, you may use Payment Intent Cancel API to cancel the authorisation when its status is in requires_capture status: https://stripe.com/docs/api/payment_intents/cancel
You may find payment_intent in the Checkout Session object after successful authorisation: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_intent
Could you paste the Payment Intent ID (pi_xxx) here, so that I can have a check?
pi_3M0jgnDaKMqxBxi40C9AXEtx
This Payment Intent has been cancelled successfully earlier in https://dashboard.stripe.com/test/logs/req_qSv6kERWvUVh9J
The error message is indeed confusing. It should return message that the Payment Intent has been cancelled earlier.
I just created a new checkout session and got the PI, then cancelled it. It seems successful.
Yup! The error you shared earlier was because you tried to cancel a cancelled Payment Intent again.
thanks a lot, river!