#tycho3385

1 messages ยท Page 1 of 1 (latest)

copper wingBOT
storm storm
#

hello! this is for the same event id?

glossy flicker
#

Yes

#

Oh actually no

#

Wait let me double check

#

Yes its the same event id

storm storm
#

can you paste the event id here for me to take a look?

glossy flicker
#

evt_1NLhUQF0NkUE87AZJTXRuvCX

#

The only difference seem to be that the connect event has a account key in the root object

storm storm
#

taking a look, give me a while

glossy flicker
#

All right

storm storm
#

are you forwarding both Connect as well as your own account webhooks?

glossy flicker
#

I am using only one process running --forward-to, no process is running --forward-connect-to

#

This is my listen command
stripe listen --forward-to localhost:3020/api/webhooks/stripe

storm storm
#

alright, going to continue looking ๐Ÿ‘€

glossy flicker
#

It happens for all events, also when I run a trigger checkout.session.completed

storm storm
#

i agree that it's really odd, I'd probably just ignore the event with the account parameter for now. Would that work for you for now?

glossy flicker
#

Yeah thats what I was thinking to do and it would solve my problem, but would it be safe to do so in production? Can I assume that the account parameter will always be undefined for webhook events to my main account?

storm storm
glossy flicker
#

Ah great! That solves my issue then. Thanks!

copper wingBOT
storm storm
#

@glossy flicker we suspect the reason why you're receiving webhooks for the Connect account also in the Stripe CLI is because your platform is connected to itself. That tends to produce some odd behaviour...

glossy flicker
#

Oh I was not aware of that. Yes I can see my own account is listed in my connected accounts in test mode

storm storm
#

you probably did the connection a long long time ago. Just so you're aware, it's no longer possible to connect to your own account, we've blocked this flow now.

glossy flicker
#

Yeah, is there any way to remove this connection from the dashboard?

storm storm
glossy flicker
#

This button is not there

storm storm
#

you should be able to see yourself connected as an extension and a button on the right to revoke access

glossy flicker
#

I did revoke but the account is still in the list of my connected accounts

#

Oh its gone now

#

Was just a delay

storm storm
#

yay!

glossy flicker
#

Yes that solved the issue with double events too!

storm storm
#

glad to have been able to help!