#GomuGomu88-refund
1 messages · Page 1 of 1 (latest)
Hi there! Pasting your next message here:
I mean, get the information from stripe that this payment have been refunded? so i could disabled the button automatecally?
If you look at the charge object, there is a refunded property to know if the charge was fully refunded or not: https://stripe.com/docs/api/charges/object#charge_object-refunded
oh ok thanks
Another option is to look at amount_refunded https://stripe.com/docs/api/charges/object#charge_object-amount_refunded so this would take into account partial refunds also.