#Rhyme-payment status
1 messages ยท Page 1 of 1 (latest)
๐ hi
sorry I'm just trying to test this
That's OK!!๐
so basically the session status won't change after refund
Can I know refund status in CheckoutSession?
no you need to look at the Payment Intent on that Checkout Session
there would be a refunded true if it was refunded
Ok!! paymentIntent.status = canceled
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
oh... paymentIntent object does not have refunded property.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
correct, but the Charge does, and PaymentIntents link to the Charge(intent.charges.data.[0])