#yandos666-connect-events

1 messages ยท Page 1 of 1 (latest)

quiet lintel
frail quartz
#

Thanks - it looks like the main part is just setting up a different hook endpoint, by and large can we re-use the same logic we're using on our direct webhooks and it should just work?

#

no need to start passing through stripe account headers and stuff?

tropic imp
#

Can you set different hooks for each different connected account?

quiet lintel
#

It depends on your logic I guess. The events will look largely the same, just the additional account field

tropic imp
#

So just 1 Connected hook that goes out for all Connected accounts?

frail quartz
#

Thanks - so assuming this is the case @quiet lintel technically we could probably get by using the same uri for both?

quiet lintel
#

Yep, you could! But some prefer to split them. Depends entirely on your integration

tropic imp
#

@quiet lintel to confirm, for different Connected accounts, we can't route webhooks to different domains?

quiet lintel
#

No. It's a single Connect webhook for all connected accounts

tropic imp
#

Darn.

quiet lintel
#

Are you both from the same org?

#

Or do I need to create a new thread?

tropic imp
#

No, we will have a parent account

#

I'll make a new thread

frail quartz
#

haha no mr_palbo has hijacked our thread

quiet lintel
#

I mean, do you know each other ๐Ÿ™‚

#

Ah

tropic imp
#

oh sorry

quiet lintel
#

My bad

tropic imp
#

I jumped in here as it was pertanent

#

๐Ÿ˜ฌ

quiet lintel
#

@tropic imp ask your Q in #dev-help and I'll start a thread!

#

It's all good

frail quartz
#

@quiet lintel just a heads up incase someone else asks but i just realised we can't use the same uri for both as they'll have different signing secrets

quiet lintel
#

Ah yes. I should have stipulated if you're using the signing secret then that'll be an extra caveat