I am playing around with Paypal REST(php) enviroment and i like to play around with the sandbox webhooks.
Is it possible to use paypal sandbox webhooks with a local setup? http://localhost/test
is a invalid url
any suggestions?
In the webhooks section, click Add Webhook. Add the URL for your listener, which is the endpoint URL that listens for incoming HTTP POST notification messages triggered when events occur. From the Event types list, select the events to which to subscribe your app.
The PayPal REST APIs use webhooks for event notification. Webhooks are HTTP callbacks that receive notification messages for events. After you configure a webhook listener for your app, you can create a webhook, which subscribes the webhook listener for your app to events.
The simplest way to test a webhook for me is https://webhook.site/. The services proposed in other answer was overkill to me.
It is a single page, simple, no login. It will receiver webhooks in real time and provide needed informations (body, headers...)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With