#adam-williams_docs
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/1222857673922445322
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
The docs say
Refunds require additional time to process (typically 3-4 business days). If you accidentally debit your customer, please contact them immediately to avoid a payment dispute.
But surely this only applies if the payment has gotten "past the point of no return". What is that point?
Hi, let me help you with this.
You can cancel the PaymentIntent too: https://docs.stripe.com/api/payment_intents/cancel
But that's only for US bank account, sorry.
Yeah, I guess you have to refund it indeed.
I think our DDs end up in the "status": "pending", state pretty much immediately
You can count this webhook event the "point of no return" https://docs.stripe.com/api/events/types#event_types-payment_intent.processing
Yeah okay - if you take a look at pi_3OrNSiLCeRZDq69e1814tjC7 you'll see that that's basically immediately, I think
So it's clear to me that we do need to use a refund .. but less clear what will happen if we do a refund 3 minutes after creating the payment intent vs 2 days later
Is that a Q for support rather than here?
Yes. Usually you cancel the uncompleted PaymentIntents.
I don't think there's a difference. I guess one way to know for sure is to try it with Live payments.
We'll have a play with it; thanks for your time :)
Happy to help.