
I'm seeing this error in console:
TypeScript
Error: 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://docs.stripe.com/webhooks/signature
at validateComputedSignature (file:///usr/local/server/src/function/node_modules/stripe/esm/Webhooks.js:139:19)
at Object.verifyHeader (file:///usr/local/server/src/function/node_modules/stripe/esm/Webhooks.js:62:13)
at Object.constructEvent (file:///usr/local/server/src/function/node_modules/stripe/esm/Webhooks.js:10:32)
at StripeService.validateWebhook (file:///usr/local/server/src/function/src/stripe.js:16:42)
at Module.default (file:///usr/local/server/src/function/src/main.js:54:38)
at execute (/usr/local/server/src/server.js:208:42)
at async action (/usr/local/server/src/server.js:225:7)
at async /usr/local/server/src/server.js:14:5
I even tried using bodyRaw
still same error, is there any way to fix this ?
TL;DR
Developers seeing error 'No signatures found matching the expected signature for payload' when using Stripe webhook function. Verify `STRIPE_WEBHOOK_SECRET` env var. Ensure passing raw request body from Stripe. Check JSON formatting and new line style. Consider using `bodyRaw` if needed.
Solution: Verify `STRIPE_WEBHOOK_SECRET` env var is correct and pass raw request body received from Stripe.
Stripe Payment Webhook Function

And the request is sent from stripe?
Can you double check the STRIPE_WEBHOOK_SECRET
env var is correct?
Recommended threads
- No access control allow origin -blocked ...
im not sure what exaclty im doing wrong - its my first time using appwrite - and im watching a tutorial about how to create a movie app and followed everything ...
- Number of Database Reads Bugged
My Appwrite project is generating a huge amount of database reads even when all my apps are closed and no one is using it. The reads counter keeps going up. (it...
- [SOLVED] Appwriteexception: invalid redi...
I've been following this documentation on my app: https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-7 On Localhost and local development, it's working fi...
