#kafkaesque_api
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/1507466328473211001
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
*I'd only like to send the success notification when I have certainty
sorry, long week
The behavior on the docs also matches the behavior I've seen on Stripe btw so I'm sure it's correct
thanks - looking into this
as far as I'm aware, listening for refund.updated Events with status: succeeded is a reliable way to know that a refund was successful
the reason you can't rely on the refund object in the response after creating it is because they are processed asyncronously
but webhooks should take care of that
no, im talking about async too
Lemme grab an example
For example, this:
https://dashboard.stripe.com/acct_1Bm6B4FdviIHOKAn/test/payments/pi_3TZy0qFdviIHOKAn1Inmi7mz
I see here a success status in an event in the event log BEFORE failed pops in
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
hi there, taking over for janet as they had to step away. the issue is that the succeeded status represents Stripe successfully sending the refund request to the customer's bank. the bank can then reject that refund later (for example if the customer closed their account, or there was a problem with the customer's card). this can take up to 30 days after the refund is posted. we document this here: https://docs.stripe.com/refunds#failed-refunds
Okay, and there's no reliable way to know if a refund was actually successful?