{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/209","repository_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK","labels_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/209/comments","events_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/209/events","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/209","id":53679284,"number":209,"title":"PayPal webhooks is not sending notifications","user":{"login":"kenjohnson","id":2375883,"avatar_url":"https://avatars.githubusercontent.com/u/2375883?v=3","gravatar_id":"","url":"https://api.github.com/users/kenjohnson","html_url":"https://github.com/kenjohnson","followers_url":"https://api.github.com/users/kenjohnson/followers","following_url":"https://api.github.com/users/kenjohnson/following{/other_user}","gists_url":"https://api.github.com/users/kenjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/kenjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenjohnson/subscriptions","organizations_url":"https://api.github.com/users/kenjohnson/orgs","repos_url":"https://api.github.com/users/kenjohnson/repos","events_url":"https://api.github.com/users/kenjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/kenjohnson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/labels/api-bug","name":"api-bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-01-07T20:39:28Z","updated_at":"2016-08-25T15:23:44Z","closed_at":"2015-01-20T18:19:15Z","body":"PayPal webhooks is not sending notifications.\r\n\r\nI am using  PayPal-PHP-SDK-0.16.1 (latest, released about Dec 22, 2014)\r\nI am in the sandbox\r\nI am using the open source tool http://requestb.in/ to receive web requests\r\n\r\nreproduce as follows\r\n\r\nI go to http://requestb.in/ to create a url to receive the web request.\r\n\r\nADD WEBHOOK URL AND SUBSCRIBE TO ALL EVENTS\r\n\r\nI go to PayPal Developer site\r\nhttps://developer.paypal.com/webapps/developer/applications/\r\nUnder Applications, click on My apps, then on the right hand\r\nside of the page I click on my app name. \r\n\r\nI click on the blue button \"Add webhook\".\r\nI type in the webhook url which is the \r\none I created above in request.in.\r\nIt would look something like this. \r\nhttps://requestb.in/abcdxyz2\r\nUnder Event types I checked all boxes. \r\nI clicked Save.\r\n\r\nNow, that page showed the webhook, it\r\nhad information like this. \r\n\r\nhttps://requestb.in/abcdxyz2  ABC12345D67891EF ...,Payment sale completed, ...\r\n\r\nCREATE EVENTS\r\n  Now, I went to my website and bought something to generate \r\n  a payment event. \r\n \r\nCREATE AND RUN PROGRAM TO ACCESS URL\r\nThen on my host, I created the program suggested by requestb.in, \r\nwhich is \r\n```php\r\n    <?php\r\n       $result = file_get_contents('https://requestb.in/abcdxyz2');\r\n       echo $result;\r\n    ?>\r\n```\r\nI run the program.\r\nIt returns \"ok\", but that is all it returns.\r\n\r\nWhen I go to the https://requestb.in/abcdxyz2?inpect,\r\nI see that my request came in, like 10 seconds ago,\r\nand I see all the headers, but the raw body is empty.\r\nI keep doing it and my request keep coming in but they\r\ndo not have anything in the body. \r\n\r\nI even waited a while and came back and did it again, still\r\nnothing in body. I went to bed and came back in the morning, \r\nstill nothing in the body. \r\n\r\nMEANWHILE, AT MY ACCOUNT PAGE, I AM GETTING NOTIFICATIONS\r\n\r\nNow, I go back to the developer page, and this time,\r\nunder Sandbox, I click Accounts, and it takes me to \r\nmy accounts page. On my acount, I click on\r\nmy account, which brings up two blue links: Profile and Notifications.\r\nI click on the Notifications. I see that I have notifications \r\nfor those events I created.  Now, I have been getting notifications\r\nlong before I even set up webhooks, so I am not sure if this\r\nis related; but the point is notification are showing up on this page.  \r\n\r\nExpected results\r\n   I expect the raw body to show up in the request.in url\r\n"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/comments/242427561","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/209#issuecomment-242427561","issue_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/209","id":242427561,"user":{"login":"PankajRawat333","id":21244341,"avatar_url":"https://avatars.githubusercontent.com/u/21244341?v=3","gravatar_id":"","url":"https://api.github.com/users/PankajRawat333","html_url":"https://github.com/PankajRawat333","followers_url":"https://api.github.com/users/PankajRawat333/followers","following_url":"https://api.github.com/users/PankajRawat333/following{/other_user}","gists_url":"https://api.github.com/users/PankajRawat333/gists{/gist_id}","starred_url":"https://api.github.com/users/PankajRawat333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PankajRawat333/subscriptions","organizations_url":"https://api.github.com/users/PankajRawat333/orgs","repos_url":"https://api.github.com/users/PankajRawat333/repos","events_url":"https://api.github.com/users/PankajRawat333/events{/privacy}","received_events_url":"https://api.github.com/users/PankajRawat333/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T15:23:44Z","updated_at":"2016-08-25T15:23:44Z","body":"I'm accepting payment via paypal & credit card so webhook will not work for me??"}}
{"actor":{"display_login":"PankajRawat333"}}