Add user agent header to curl request
Add user agent header to curl request

Because of a recent change in PayPals API you will get a 403 error if you don't send a User Agent header. 
Source: https://stackoverflow.com/questions/25854207/access-denied-on-paypal-ipn-verification
mike182uk/paypal-ipn-listener