#roshe10_webhooks
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/1458146046822584340
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I think the case for latest_charge not being available on payment_intent.succeeded would be when a PaymentIntent is confirmed with a payment method where payment success happens asynchronously and Stripe doesn't know for some time that we actually received the money, so bank debits would be an example
is there an event (and object related to it) that is a final final thing I can rely on for both one-off and recurring payments as well as any payment method. e.g. payment.finalised -> which would tell me all is good, you can provide services to customer
I think that's going to be charge.succeeded - we should have some test payment methods that let you see how this works. Let me find the right docs
I'm inferring that you haven't gone live yet and don't have any real examples to hand - is that correct?
ah, sorry, I needed to refresh my memory here. for bank debits you will receive a payment_intent.processing and charge.pending event and then receive the success events when the payment actually succeeds
if you have a PaymentIntent with status: 'succeeded' then it will have a Charge in latest_charge