#matt-k_webhooks

1 messages ยท Page 1 of 1 (latest)

hot baneBOT
#

๐Ÿ‘‹ 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.

bleak totem
#

Event id evt_1Q4lEDAURmklhN24bOQHv8QT

hot baneBOT
proud snow
#

Are you using both setup intents and payment intents?

#

Ok, you are.

bleak totem
#

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

wise star
#

Hi ๐Ÿ‘‹

I'm stepping in as my colleague needs to go. Can you provide an example Payment Intent where this was the case?

bleak totem
#

pi_3Q4lb6AURmklhN240aOtY0dK

wise star
#

Thank you, I'm taking a look.

#

This Payment Intent did create a charge

#

ch_3Q4lb6AURmklhN240ZijQj05

#

It was successful

bleak totem
#

Oh sorry, I think synthrider linked to the wrong event

#

This event evt_1Q4lEDAURmklhN24bOQHv8QT

wise star
#

He linked to an example of payment_intent.succeeded event

#

What about that event is a problem? Why should I be looking at it?

bleak totem
#

Set this setup intent as succeeded seti_1Q4lC3AURmklhN245TDSdrf4

wise star
#

How does that address this question?

Can you help diagnose why we have a setup_intent.succeeded event, but no related payment_intent events?

bleak totem
#

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

wise star
#

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?

bleak totem
#

Yes

wise star
#

So you are looking for a Payment Intent using that Customer and Payment Method and you don't see it?

bleak totem
#

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

wise star
#

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

bleak totem
#

Are you able to search through the request logs to see if we even made any api calls with that setup intent?

wise star
#

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

bleak totem
#

I see in the logs that we didn't make those requests either

#

Can you tell if we attempted to make those requests and the requests failed?

wise star
#

Can you tell if we attempted to make those requests and the requests failed?
What requests are you talking about?

#

All the requests on this account were made by your platform