Back

No signatures found matching the expected signature for payload. Webhook Stripe

  • 0
  • Self Hosted
  • Functions
  • Web
Profesor
29 Jan, 2024, 17:12

I want to make subscription with appwrite stripe and /subscribe is working fine /webhook not, alsobodyRaw is different in webhook req have \n and in subscribe only backslash. The error is: {"type":"StripeSignatureVerificationError","raw":{"message":"No webhook payload was provided."} I'm using appwrite functions template: https://github.com/appwrite/templates/tree/main/node/subscriptions-with-stripe

TL;DR
Developers are facing an issue with the webhook feature in Stripe when using the Appwrite functions template. While the /subscribe endpoint is working correctly, the /webhook endpoint is encountering an error message stating "No webhook payload was provided." The difference in bodyRaw between the two endpoints is that \n is present in the webhook request but not in the subscribe request. A solution to this issue is not provided in the support thread.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more