Pau
Pau2w ago

Stripe Trigger Webhook Error

Hi there, I have a flow that works well on test but when i changed the credentials to live api key i get this error: Unable to verify stripe event: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing 2025-01-08 12:26:56 Have little idea of coding, so I do not know how to solve it. If any of you could help, I would appreciate it
GitHub
GitHub - stripe/stripe-node: Node.js library for the Stripe API.
Node.js library for the Stripe API. . Contribute to stripe/stripe-node development by creating an account on GitHub.
2 Replies
AI Support
AI Support2w ago
AI Support Bot Information
<@1326510155918999594> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support2w ago
AI Response
It seems like you are encountering an issue with Stripe's webhook signature verification. This error indicates that the signature of the webhook payload could not be verified, which might be related to a few possible causes: 1. Raw Body Requirement: Ensure that the raw body of the request is passed directly from Stripe to your verification function. Stripe requires the exact raw payload to calculate the signature properly. 2. Endpoint URL and Secret Key: Double-check the endpoint URL and the secret key for the webhook. Ensure that you are using the correct live secret key rather than the test secret key. 3. Clock Drift: Check for any significant time drift between your server and Stripe's servers which may cause the signatures to appear invalid. 4. Framework Integration: If you're using a framework, make sure you follow the integration guidelines correctly. Stripe’s GitHub page on webhook signing can be a helpful resource: Stripe Webhook Signing Documentation. If you're still facing issues, it could be best to seek further assistance from a developer or the Stripe support team.
BuildShip AI Support

Did you find this page helpful?