Verifying Webhook Authenticity | Community
Skip to main content

Verifying Webhook Authenticity

  • June 30, 2022
  • 3 replies
  • 0 views

Daniel49

I have been setting up a webhook that sends a POST request to a server, and I have been strictly following this tutorial. However, I cannot get the signature header to match the one that I generate.

I have also referred to this post in which the user encountered what seems to be the same exact issue, but I couldn't find a solution in the responses. I have tried utf8 decoding various headers, similar to what a user did in a python example (my verification is in php), but that hasn't worked either.

The signature that I create ends up consistently being double the length of the signature header. Any thoughts?

3 replies

Greg29
  • July 6, 2022

Hi Daniel! To properly troubleshoot this, we'd want to see the code snippet that you're using. To be honest, I'm not sure if anyone on my team has experience with PHP, but we're always happy to take a look at it to see if we can help!


Daniel49
  • Author
  • July 8, 2022

This is what I am using to verify the webhook.


Yael
  • January 24, 2023

Hi, I have the same issue - any update here? Did you figure this out please?