#Rhyme-payment status

1 messages ยท Page 1 of 1 (latest)

sinful plaza
#

๐Ÿ‘‹ happy to help

mossy timber
#

๐Ÿ˜ƒ hi

sinful plaza
#

sorry I'm just trying to test this

mossy timber
#

That's OK!!๐Ÿ˜ƒ

sinful plaza
#

so basically the session status won't change after refund

mossy timber
#

Can I know refund status in CheckoutSession?

sinful plaza
#

no you need to look at the Payment Intent on that Checkout Session

#

there would be a refunded true if it was refunded

mossy timber
#

Ok!! paymentIntent.status = canceled

sinful plaza
#

paymentIntent.status : canceled isn't the same thing as paymentIntent.refunded: true

#

paymentIntent.status is succeeded when paymentIntent.refunded is true otherwise the paymentIntent is not refundable since the payment didn't happen

mossy timber
#

oh... paymentIntent object does not have refunded property.

drifting quest
#

correct, but the Charge does, and PaymentIntents link to the Charge(intent.charges.data.[0])