From 40e888f8c8f8ff33a7709953e66b1c72e5590bf5 Mon Sep 17 00:00:00 2001 From: Ahmad Saad Aldeen Date: Sat, 8 Oct 2016 17:33:08 +0200 Subject: [PATCH] just add a new commit about WebhookId --- sample/notifications/ValidateWebhookEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/notifications/ValidateWebhookEvent.php b/sample/notifications/ValidateWebhookEvent.php index 098b75e..9fd2022 100644 --- a/sample/notifications/ValidateWebhookEvent.php +++ b/sample/notifications/ValidateWebhookEvent.php @@ -53,7 +53,7 @@ $signatureVerification = new VerifyWebhookSignature(); $signatureVerification->setAuthAlgo($headers['PAYPAL-AUTH-ALGO']); $signatureVerification->setTransmissionId($headers['PAYPAL-TRANSMISSION-ID']); $signatureVerification->setCertUrl($headers['PAYPAL-CERT-URL']); -$signatureVerification->setWebhookId("9XL90610J3647323C"); // get WebhookID from your system +$signatureVerification->setWebhookId("9XL90610J3647323C"); // Note that the Webhook ID must be a currently valid Webhook that you created with your client ID/secret. $signatureVerification->setTransmissionSig($headers['PAYPAL-TRANSMISSION-SIG']); $signatureVerification->setTransmissionTime($headers['PAYPAL-TRANSMISSION-TIME']);