Headers we send:
X-Premium Hosting-Signature: t=TIMESTAMP,v1=HASHX-Premium Hosting-EventX-Premium Hosting-Delivery-Id
Verify it
$expected = hash_hmac("sha256", $rawBody, $signingSecret);\nif (!hash_equals($expected, $providedHash)) abort(400);
Headers we send:
X-Premium Hosting-Signature: t=TIMESTAMP,v1=HASHX-Premium Hosting-EventX-Premium Hosting-Delivery-Id$expected = hash_hmac("sha256", $rawBody, $signingSecret);\nif (!hash_equals($expected, $providedHash)) abort(400);
Was this helpful?