This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
Webhook verification failure #1107
Comments
Is your webhook ID definitely correct? I deleted mine and forgot to update it in my code. |
We have some issues currently with how SDKs handle the verification. Wondering if you can try to do the verification outside of the PHP SDK using straight REST api so we can narrow it down. https://developer.paypal.com/docs/api/webhooks/#verify-webhook-signature_webhook |
I resolved it. Made a stupid mistake |
|
@matthijsotterloo How to solved it, what was wrong? |
$signatureVerification->setWebhookId('your Webhook ID'); |
Instead: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi everyone!
I'm using the code below to validate a webhook response, the webhook is being called after the payment but for some reason the validation keeps returning a failure. Does anyone know what might be causing this?
Thanks!
`$apiContext = new \PayPal\Rest\ApiContext(
new \PayPal\Auth\OAuthTokenCredential(
'myclientidhere', // ClientID
'myclientsecrethere' // ClientSecret
)
);
The text was updated successfully, but these errors were encountered: