#nicolas-fernandez-falco_webhooks

1 messages · Page 1 of 1 (latest)

proven coveBOT
sweet mistBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

proven coveBOT
#

👋 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/1239951871976931419

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

ebon maple
#

Hi there 👋 it doesn't look like we have a test bank account designed to simulate that behavior currently.

oblique hare
#

Hi toby! How are you?

ebon maple
#

I'm alright, how are you?

oblique hare
#

I'm performing a refund with a payment that was paid with cash balance. Since it was paid with cash balance when I'm performing the refund, I'm sending as a parameter the instructions email to send an email to the client to provide the bank account information for the refund.

What I'm trying to do is in the Email from Stripe I'm receiving I want to complete it with a ACH account that triggers a refund failed

#

With the Succeeded worked

#

When I put the ACH failed accounts provided by the documentation it's only sending the email to client again. But no event is triggered in Stripe

ebon maple
#

Let's try to break that down, I'm not quite sure what you're asking, but it feels like there are several partial questions in there. First, I'm not aware of a test bank account that behaves as you described initially. Do you have examples from your testing? My team isn't too familiar with these email flows, so I'm a little fuzzy on what you're describing and what we would be doing as part of that process.

oblique hare
#

No worries. After trying with multiple ACH stripe testing failure accounts one of them trigger the charge.refund.updated event with the failed status

#

When you request a refund if the charge/payment intent was paid with customer cash balance you need to provide the instructions_email parameter in the refund request since refunds to customer cash balance are not supported via API. Only through the Dashboard

#

That's what I'm doing. Now when you receive the email to complete the refund you need to enter an ACH account to refund that money

ebon maple
oblique hare
#

I already test the flow when the ACH account it's valid an received the charge.refund.updated with succeeded event. I was trying to perform the same flow but wiht a failure status

ebon maple
#

I was thinking you were talking about ACH debits, a pull based payment method, rather than Bank Transfers which use ACH in a push fashion. Sorry about that!

oblique hare
#

No worries!

#

I have one more question

#

Does it change something if you attach the chargeId instead of the payment intent Id for a refund? Like payment intents have inside a charge. So I thought it was the same right?

ebon maple
#

Either works, but let me know if that doesn't align with what you're seeing in your testing.