#ben-st-john_failed-refund-bank
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1424787077400232057
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello ๐
I'm curious if this related specifically to Link?
Unfortunately no, this is specific to working with banks.
Banks are an inherently async process and, especially when it comes to failures, they may not fail for multiple days.
I realize there isn't a Customer object connected to this Payment Intent. If you have a means of contacting the customer, you could ask them to save a new payment method and process the refund to that payment method
Is there any way we can get more clarity as to why it failed?
like is it our fault? Stripe issue? Or is it the bank?
It's not your fault. I was digging into our internal logs and I found the failure_code: partner_error, which implies this is an error raised from the bank
We have an interal data model for Refund Failures. There isn't a whole lot of information in it but what I can see is that we have
failed_refund_reason declined
failed_refund_type partner_failure
What this tells me is that the bank declined the fund transfer for reasons we don't know.
weird? Should we re-try it? Or does it seem like it'll just fail again
It's possible it was a transient error and you can try again to refund the funds. However, it could also be that the customer's bank account is no longer open and in that case it will keep failing (or other permanent issues).
In the latter scenario, I think you would need to reach out to the customer to get a new payment method saved so you could issue the refund to that payment method.
ah gotcha, thank you!
Sure thing, happy to shed what ๐ก I can ๐