We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 309c297 commit 13a0c97Copy full SHA for 13a0c97
messages/signed-webhooks/verify-webhook.php
@@ -14,5 +14,5 @@
14
$client->sms()->send($message);
15
16
// Incoming Request
17
-$signature = new Vonage\Client\Credentials\SignatureSecret(VONAGE_API_KEY, VONAGE_SIGNATURE_SECRET, 'sha256');
+$signature = new Vonage\Client\Signature(VONAGE_API_KEY, VONAGE_SIGNATURE_SECRET, 'sha256');
18
$isValid = $signature->check($_GET['sig']);
0 commit comments