#j_webhook-signature-verification
1 messages ยท Page 1 of 1 (latest)
๐ 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/1264979352429395969
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- j_stripejs-extrarequests, 2 days ago, 30 messages
- j_ece-appearance, 4 days ago, 45 messages
- j_paymentelement-appearance, 4 days ago, 61 messages
Hi ๐
We have a new guide for troubleshooting webhook signature verification issues here.
Hi!
I am searching why i got this following issue:
โ Error message: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing
I dont know what is going on
What have you tried?
try different webhook secrets on dev and production, weird because 1 week ago everything was working fine, i didnt do anything or modified and suddendly this error started to happen
Okay so
- How have you been verifying webhooks in dev? Do you the CLI or do you have test webhook endpoints?
- Has anything changed in your hosting environment? Anything that modifies the HTTP requests can cause verification to fail.
Ok let me try one thing
weird, since i still process the db interactions, and the payment register correctly, but still got this errorr
Can i share how im using webhook config on my backend?
express
Have you gone through all the steps we document in our guide? Can you tell me whether the error changed as you implemented each of these steps?
What does that mean?
but on production on gives me that issue
I would expect local and production to be completely different
It looks like you are using the CLI locally. That will. have a different webhook signing secret
Have you logged that in your code?
Ok let me do some more testing, please dont leave
I think i got it
๐
Just one more think
Thing
I notice that when i make a payment on production, my local terminal also updates
Can i send videos on here?
I don't think it would help
Its normal this behavior?
I notice that when i make a payment on production, my local terminal also updates
You mean the CLI?
i am using liste-forward to activate webhook from local testing
The Stripe CLI will forward all webhook events from your account to your local dev endpoint
Hmm, doesnt matter they use different webhook key?
Webhook keys have nothing to do with it
Ok, so its normal behavior
Yes
No problem, it's why we're here