#andrelum-Webhook

1 messages · Page 1 of 1 (latest)

spark yacht
#

Hi there, can you send me the failed webhook event ID?

stuck coral
#

"id": "evt_3L50LcIF3yJmpI9e0g3ZP8XM",

spark yacht
#

Thanks, your server returns 400 instead of 200.

#

Can you check your server code or log and see if there were any error/exception raised?

stuck coral
#

[
"HTTP_STRIPE_SIGNATURE"
]

#

this seems to be the error

#

the webhook works on my local listener though

spark yacht
#

Ah I see, please check if you are using the correct webhook secret in your endpoint

stuck coral
#

alright, will check it out thanks

stuck coral
#

i have changed it to the correct webhook secret but still get the same error

spark yacht
#

Are you using the webhook secret in test mode?

stuck coral
#

i think yes

#

how do i check?

#

is it not supposed to work in test mode?

spark yacht
#

It's supported. I just want to make sure you are using the right secret. Live mode secret is differet from test mode.

#

Where did you get the webhook secret, from CLI or Dashboard?

stuck coral
#

dashboard

spark yacht
#

OK, that should work. Perhaps you can clean the build and run again?