#stevec0583

1 messages ยท Page 1 of 1 (latest)

patent rivetBOT
still umbra
#

Here's an example: pi_3NZxbjIr2WUHgKZ00UapxioX

#

Also, when I look at that payment in the dashboard, it says under 'Webhooks' that there were none. Which is unexpected.

#

Under wehooks for that payment intent, it says 'No recent webhook attempts'.

fading flare
#

Hello ๐Ÿ‘‹
Give me a moment to look..

still umbra
#

Sure.

fading flare
#

You don't seem to have an connect webhook endpoints on your platform account to listen to webhook events

#

You have account level webhooks on your connected account though
with the URL in https://xxx.ngrok-free.app/webhooks/payment

still umbra
#

Here it is: we_1NZwKtErJwAgi4rtG3IEzX0H

fading flare
still umbra
#

That was generated from the Stripe CLI

#

Those payments you can see on the connected account shoudl all have generated payment_intent.succeeded events, which should have caused this webhook to fire: we_1NZwKtErJwAgi4rtG3IEzX0H

#

I don't understand what you mean by this:

You don't seem to have an connect webhook endpoints on your platform account to listen to webhook events
You have account level webhooks on your connected account though

#

I just noticed this:

#

I guess that's the problem.

fading flare
#

Yes, you're creating direct charges
https://dashboard.stripe.com/test/logs/req_hyP7TU82DSdzI4

Where the platform acct_1NYr06Ir2WUHgKZ0 makes a request on behalf of the connected account acct_1NY0lTErJwAgi4rt

The webhook ID we_1NZwKtErJwAgi4rtG3IEzX0H you shared belongs to the connected account.

If you're trying to listen to direct charges events on the platform account, then you need to create a connect type webhook endpoint that allow you to listen to events on the connected accounts
https://stripe.com/docs/connect/webhooks

still umbra
#

Gotcha. I guess the odd default setting caught me off guard. When would someone listen to platform payment_intents? Are they for payouts or something?

fading flare
#

It depends, if you're working with destination charges then the payment intents would be generated on the platform account

still umbra
#

Oh right. It makes absolutely no sense to me, but it sounds like you discovered the problem and pointed me to the solution. I'll tinker with it now and suspect it shoud work. I'll report back shortly.

fading flare
#

๐Ÿ‘