#jchannon
1 messages ยท Page 1 of 1 (latest)
we_1LaLNgAT2irRycsW2otuK7Dj
taking a look
ok so your webhook endpoint is in test mode
while the event account.updated that you produced is in live mode
how do i test account.updated whilst i'm in test mode?
ah so i went to the account details page and flipped it to test mode
changed the values
still no webhook
i'm just trying to test my code on an account.updated event/webhook
if i update a connected account will it fire?
this is exactly why I asked what are you trying to achieve
you're testing account.updated event on your own account where in fact what you need is to get a webhook event for when a Connected Account account.updated event is fired
yeah
this is a very common confusion amongst our users and we're sorry about that
you need to create another webhook endpoint but this time specify that you want to listen to the Connected Account events
well my webhook i sent above listens to all events so it should be ok?
no that's not ok
that's what I'm trying to explain, we have 2 different types of webhook endpoints
a webhook endpoint that listens to your own account (the one you created)
gotcha
brill thanks!
๐
and this time to test it you need to update something on the Connected Account linked to your platform in test mode
yup, thanks, still not sure why my account changes didnt fire the webhook though
because when you update your own account it creates a live mode event but you are only listening to test mode events
ah ok
if i setup a new webhook endpoint, can I point it to my existing url or does the url need to be unique
ah i can add the existing url
cool
hmm, no worky
we_1M2CfJAT2irRycsWMR70WorN
what did not work exactly?
i updated a connected account website and name, and i dont see a webhook
acct_1LwRHPPIaHTHpwly
looking into it, just give me a minute
thanks, appreciate it
hmm, the UI doesn't seem to be saving the new details i added
maybe cause it's marked as Complete?
actually what happened is that we're sending you the event, but you're code is not responding correctly
we actually did send the event twice and we received a 400 from your url
refresh your page, I'm able to see both events that failed
perfect! I will leave you in the good and capable hands of my colleague @tulip hazel for any further inquiry
thanks, all sorted now!
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
thanks, all good now!