#ColonelBudinca - webhook signature
1 messages · Page 1 of 1 (latest)
This typically comes from one of two things, the request body not being the actual request body, or the secret key not being the one that you are expecting
Can you double check your secret key body here? That raw request body code looks good as far as I can tell
it works on localhost
But not with one of the webhook endpoints that you set up on your dashboard?
Did you update your secret key from the localhost one to your dashboard one
when i run stripe listen --forward-to . it works on local
is the same key and how can i update it?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Click on the webhook that you want to use on that page
Then click "Reveal" under "Signing Secret"
is not the same
ok
The local host one should be different than the ones for the endpoints in your dashboard
i understand. what should i do ?
So you need to update the env config in the version of your code that is running for your heroku app endpoint
Awesome!