I'm trying to get notified via webhooks when a simple payment is made, however I don't receive any request from paypal on the specified URL. Here is what I've done:
In developer dashboard the payment is received if I go to Sandbox -> Notifications: "Notification of Payment Received from test buyer", but the webhook page on my server is not called. I know this because the php script creates a txt file every time the page is called. Also if I go to Developer Account -> Webhook Notifications and select the app I have this message: You don't have any events for the selected application
NOTE: If I add the URL in the webhook simulator everything works great.
Am I doing something wrong? Do I have to connect the app with the buy now button?
Thanks
Webhooks is only used for REST payments. However for Paypal buttons created in PP account, you need to use Paypal IPN. Here is the guide for IPN and IPN script for your reference.