#matt-k_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/1290338115210182727
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Event id evt_1Q4lEDAURmklhN24bOQHv8QT
Are you using both setup intents and payment intents?
Ok, you are.
The same endpoint that received the above setup intent event is also subscribed to and received this payment_intent.succeeded event
https://dashboard.stripe.com/events/evt_3Q4lb6AURmklhN240dYgrMTm
That link isn't working for me, and I'm unable to find that event when searching
I was able to find it
What's the situation where we received a payment_intent.succeeded event, but no charge was created?
We have confirm=True on all payment intent creations
Hi ๐
I'm stepping in as my colleague needs to go. Can you provide an example Payment Intent where this was the case?
pi_3Q4lb6AURmklhN240aOtY0dK
Thank you, I'm taking a look.
This Payment Intent did create a charge
ch_3Q4lb6AURmklhN240ZijQj05
It was successful
Oh sorry, I think synthrider linked to the wrong event
This event evt_1Q4lEDAURmklhN24bOQHv8QT
He linked to an example of payment_intent.succeeded event
What about that event is a problem? Why should I be looking at it?
Set this setup intent as succeeded seti_1Q4lC3AURmklhN245TDSdrf4
How does that address this question?
Can you help diagnose why we have a setup_intent.succeeded event, but no related payment_intent events?
Our payment flow takes a setup_intent and immediately creates a payment_intent from it, but we have no logs indicating that the how or why a payment_intent failed
Sorry but this doesn't make sense
immediately creates a payment_intent from it
Do you mean you create a Payment intent using the Payment Method created by the Setup Intent?
Yes
So you are looking for a Payment Intent using that Customer and Payment Method and you don't see it?
Correct
Or at least I expect there to be one or at least a failed charge, or some other evidence that we attempted to charge the payemnt method
Unfortunately there isn't much we can do on our end to find out why a record isn't created.
Let me take a quick look at some logs first though
Are you able to search through the request logs to see if we even made any api calls with that setup intent?
Not search
I can look but I cannot easily search the logs
Okay I can see that the Setup Intent is confirmed but there isn't a payment intent that is created immediately afterwards
The next set of API requests are to create a Customer and another Setup Intent