#steve-webhook-connect

1 messages ยท Page 1 of 1 (latest)

icy pondBOT
steady cloak
#

Hi ๐Ÿ‘‹

I'm not clear on your question. What happened that was not what you expected?

mossy sun
#

In other words, I'm pretty sure everything's working now. But just for my understanding I hope to understand why it was working before, despite it being for account.updated on the platform account, as opposed to connected accounts.

#

Well, now that I know you have to change that default setting to 'Events on Connected accounts', the webhook works. But it was working even before I selected that setting. In other words, I was receiving updates on Connected accounts via the webhook even before I selected that option.

steady cloak
#

How were you listening to the webhook events?

mossy sun
#

I just made an endpoint and stripe POSTed to it

steady cloak
#

Okay do you have example event IDs for events that you received which you don't think you should have?

mossy sun
#

I've deleted the webhooks - would there be another way I can find them?

steady cloak
mossy sun
#

Some of the events on this account I think: acct_1NYr06Ir2WUHgKZ0

#

(it's my test account)

#

I'll try and find some account.updated events, but you probably know the interface better than I do and will probably find them first

steady cloak
#

All of the events I'm seeing were only sent to the Stripe CLI, which will always forward both Connect and Account events

mossy sun
#

ohh...

will always forward both Connect and Account events

#

Didn't know that

steady cloak
#

But that is only the CLI

mossy sun
#

Yeah, I learned that tonight

#

THe hard way

#

4 hours of my life lost to that gotcha

steady cloak
#

So if you create an actual webhook endpoint you won't see that behavior

mossy sun
#

Yup lesson learned

#

Has it always been like that, I can't recall ever having to select that option in the past

steady cloak
#

What option are you referring to?

mossy sun
#

You know when you discover something, and it makes you question everything you think you knew?

steady cloak
#

You don't need to register and endpoint for the CLI

mossy sun
#

The option in the pink box in the image in the OP

steady cloak
#

But the options for Account Only vs Connect Accounts has been there since I started at Stripe

mossy sun
#

When was that?

steady cloak
#

For actual webhook endpoints

#

1.75 years ago

mossy sun
#

Oh okay, last time I made endpoints was 2 years ago

#

So it makes sense that I hadn't seen them before

steady cloak
#

๐Ÿค”

#

I want to say it's been an option for a lot longer than that but I'm not 100% sure

mossy sun
#

I can't recall ever having to select it before. But maybe I'm wrong

icy pondBOT
static plaza
#

@mossy sun I can confirm this section has existed for many years

#

steve-webhook-connect

mossy sun
#

Oh interesting. I really can't remember ever seeing it before

#

Thanks for confirming though

static plaza
#

happy to help!

mossy sun
#

Thanks again