Hi,
I am working on integration in python, but I have a problem with verifying the signature. When I try to verify vendor test webhook payload without spaces and breaks, it’s valid, but when comes to the real webhook, it’s generating different signatures. Both payloads look the same. I don’t know if there is a problem with encoding or python has some sort of inside formatting of the payload of the request body… Does anyone have a clue what could be the problem?
As per the API, “the test webhook is formatted for ease of reading when displayed in the browser”. The test webhook will have new lines and spaces and the signature will be generated expecting that.
The real webhook will not have spaces and its signature will be generated based on that.
Hi, thank you, but now I have a problem to find the way how to send private message. . I can’t find any option to send new private message except reply option
yes, I count with that. But still… How I said, testing webhook after formatting the payload is valid and I have same hash. Only the real webhook payload after hashing is invalid.