#heshamelhattab

1 messages · Page 1 of 1 (latest)

strange chasmBOT
wide gust
#

hi there!

#

you can't cancel a succeeded PaymentIntent. but sure you can refund it if needed.

fair kite
#

for example if the payment intent status i s requires_caputre, will the refund work as well ?

wide gust
#

no, because there would ne nothing to refund since the PaymentIntent has not succeeded yet

fair kite
#

ok so I should check if the payment intent status is successful then create a refund if the payment intent status is something else then cancel payment intent right ?

wide gust
#

correct