I'm trying to develop a webhook for the Xero API for when a Contact is updated.
I managed to get past the Intent to Receive validation (eventually) thanks to the answers. However it doesn't always work. Sometimes, for example, the Hash I compute using:
$yourHash = base64_encode(hash_hmac('sha256', $payload, $webHookKey, true));
is off by one character - where the Web Hook Key, for example, might start with mrj/yJ7pZKejaRrN61vAJB
, the computed hash will replace the / with a Y or some other character.
What simple stupid thing am I overlooking?