#Omri-refunds
1 messages ยท Page 1 of 1 (latest)
Hi ๐ if you see a refund move into a pending state that is typically due to your account not having enough funds to refund the payment and we were unable to debit your connected bank account to cover the difference. The refund won't occur until the necessary funds are available, so you'll want to listen for webhooks to be notified.
Additionally, refunds can fail up to 30 days from when their initiated, so listening for webhooks to stay informed is going to be the best path here.
Additional information regarding refunds can be found here:
https://stripe.com/docs/refunds
I'm archiving this thread, but if there are additional questions or anything else that we can assist with, then please let us know in #dev-help. ๐
@hard cedar ๐
@lucid meadow Hey, thank you, which webhook event should I need to listen for failed refund?
In the rare instance that a refund fails, we notify you using the charge.refund.updated webhook event. You will then need to arrange an alternative way of providing your customer with a refund.
thank you
how can I test the charge.refund.updated webhook event failed refund?
on my local
You can use Stripe CLI
Probably starting with stripe trigger charge.refund.updated then use fixture to simulate the failed scenario
thank you, sorry, I'm not sure how to use the fixture, I need to create a json file, how the file should look like for refund failed scenario ?