Webhook validation not working in sandbox

SnowSailor
New Community Member

I am working to validate the Paypal webhook post to my site and I am having some problems. I have all the data that's required, and the post to /v1/notifications/verify-webhook-signature is returning a 200, but it's returning a verification_status of FAILURE when I would expect a SUCCESS. I verified that all the data being passed to the Paypal API is correct, and I made sure to include my Authorization header with Basic auth. Is it not possible to verify the webhook signatures for Sandbox webhooks? I have included the body of my POST request. I don't see anything wrong with it, but if someone could help that would be great. Thanks.

 

Link to post body: https://pastebin.com/SYBT7muv

Login to Me Too
3 REPLIES 3

rafablazer
New Community Member

I was trying this too and seems like we can not validate the simulated payloads, did find another way to validate the signature?

Login to Me Too

V1nDeer
Contributor
Contributor

Have you found a solution?

Login to Me Too

morsagmon
Contributor
Contributor

Hello SnowSailor.

 

I'm experiencing the exact same issue.

Working against a defined webhook in SANDBOX.

Payload sent for verification looks great, similar to your payload.

Always receiving FAILURE.

Did you find out what's going on?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.