Verify Webhook signatures with PHP

New post

Comments

1 comment

  • terry palmer

    I was able to figure this out. Putting here for future reference for anyone searching.

    $primaryKey = ".." //webhook primarykey provided from box

    $dataStr = $payload . $timestamp;

    $webhookSig = base64_encode(hash_hmac("sha256", $dataStr, $primaryKey, TRUE));

    1
    Comment actions Permalink

Please sign in to leave a comment.