Need help with first webhook

Techlosophy
Contributor
Contributor

Hi All - I'm brand new, so please pardon my ignorance.

I'd like a PP payment button on my website, and a webhook listener, that then sends notifications of PP events to the webhook listener on my server. PP has LOTS of documentation; however, I had a stroke a few years ago (which makes reading difficult), and frankly I'm overwhelmed by all the docs. I think I just need a little bit of step-by-step coaching. Here's what I have:

1) I already have a PHP listener on my server that I can POST to. At this point it just writes the posted info into a file so I can see what was POSTed.

2) I have a PayPal account.

3) In the PayPal sandbox for the default application I have configured a webhook (subscribed to all events) with the URL of my listener.

4) I've tried PayPal's Webhook Simulator . It says, "Your event has been successfully queued." The Event Data Sent includes Links near the bottom; and one of them says, '{"name":"AUTHENTICATION_FAILURE","message":"Authentication failed due to invalid authentication credentials or a missing Authorization header.","links":[{"href":"https://developer.paypal.com/docs/api/overview/#error","rel":"information_link"}]}'

 

That's as far as I can get. Can someone please help coach me through?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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