#kenehermitcoder
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- kenehermitcoder, 2 days ago, 23 messages
- kenehermitcoder, 3 days ago, 39 messages
- kenehermitcoder, 3 days ago, 8 messages
Hello, can you tell me more about how that method is not functioning as expected?
The highlighted section doesn't function as expected.
Does your code get to those lines? Or does it error?
Also, please send the text of your code, pictures of code are harder to work with
The three most common things that go wrong with constructEvent are:
- Not passing in the correct webhook endpoint secret
- Not passing in the headers properly
- Not passing the raw webhook body
Let's check #1 and #2 first. Can you print out your sig and endpoint secret parameters to make sure they are populated correctly?
The signature should look something like this t=1700490957,v1=50d5752615450831d6e71a98935d1edc23cb62596dd43d367cd5737a3fe9571d,v0=9a98b0ca23215e332bd8336df896926a62f4847cbda5c8603a482e6662745c58
And the webhook endpoint secret should start with whsec_
Yes, my code doesn't work beyond the selected block.
Do you get an error about the webhook signature?
If so, my debugging advice will help
If they are not populated correctly, what then, is the problem?