#yulu_webhooks

1 messages ¡ Page 1 of 1 (latest)

serene wrenBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351193204518682635

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

smoky scarab
#

Hi, what language are you using? If you hard code the signature, do you get the error?

livid comet
#

i use nodejs, how can i hardcode the signature?

smoky scarab
livid comet
#

I think I passed the raw request body already

serene wrenBOT
smoky scarab
#

Did you hard code that and did it work?

#

You can confirm if Express is parsing the body by hard coding the webhook secret key, and go backwards from there

livid comet
#

one sec let me have a look

#

does that mean I have wrong webhook secret key?

#

But i have double checked the webhook secret key, it is starting with whsec_

limpid sand
#

Hi there taking over for pgskc

#

Where are you running this code?

#

Is this locally?

livid comet
#

yes

limpid sand
#

Ok then the secret you need to use is the one from the cli

#

Is that the one you're using?

#

The one outputted by stripe listen

livid comet
#

I see,

#

I just used the one from cli, I still get the error

#

same error