#smartkiparis
1 messages · Page 1 of 1 (latest)
Hi there
hi
What do you mean by:
intent is in non cancelable state
?
You mean what webhook will you receive when the PaymentIntent is canceled?
I mean it is already canceled or succeded
and we cannot cancel
intent
docs say that we will recieie an errror
but what is a structure of this error object or event
When a PaymentIntent is canceled you will receive a payment_intent.canceled Event: https://stripe.com/docs/api/events/types#event_types-payment_intent.canceled
Which will be the PaymentIntent object
and if paymentIntent cannot be canceled
what will we receive?
or Stripe library will throw en exceprion?
You mean if you try to cancel a "succeeded" PaymentIntent for instance?