{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/ipn-code-samples/issues/51","repository_url":"https://api.github.com/repos/paypal/ipn-code-samples","labels_url":"https://api.github.com/repos/paypal/ipn-code-samples/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/paypal/ipn-code-samples/issues/51/comments","events_url":"https://api.github.com/repos/paypal/ipn-code-samples/issues/51/events","html_url":"https://github.com/paypal/ipn-code-samples/issues/51","id":156942103,"number":51,"title":"ipn-php sample always return INVALID","user":{"login":"genox87","id":11784877,"avatar_url":"https://avatars.githubusercontent.com/u/11784877?v=3","gravatar_id":"","url":"https://api.github.com/users/genox87","html_url":"https://github.com/genox87","followers_url":"https://api.github.com/users/genox87/followers","following_url":"https://api.github.com/users/genox87/following{/other_user}","gists_url":"https://api.github.com/users/genox87/gists{/gist_id}","starred_url":"https://api.github.com/users/genox87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genox87/subscriptions","organizations_url":"https://api.github.com/users/genox87/orgs","repos_url":"https://api.github.com/users/genox87/repos","events_url":"https://api.github.com/users/genox87/events{/privacy}","received_events_url":"https://api.github.com/users/genox87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-26T09:30:58Z","updated_at":"2016-05-27T13:19:45Z","closed_at":null,"body":"Hello, i'm testing the php script with paypal ipn simulator, it always return \"INVALID\".\r\n\r\nHas PayPal changed something ? it worked flawless 1 month ago\r\n\r\nCan you check ? Thanks\r\n\r\nipn.log\r\n\r\n```\r\n[2016-05-26 11:36 Europe/Rome] HTTP request of validation request:POST /cgi-bin/webscr HTTP/1.1\r\nHost: www.sandbox.paypal.com\r\nAccept: */*\r\nConnection: Close\r\nContent-Length: 937\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n for IPN payload: cmd=_notify-validate&payment_type=instant&payment_date=Thu+May+26+2016+11%3A25%3A05+GMT+0200+%28ora+legale+Europa+occidentale%29&payment_status=Completed&address_status=confirmed&payer_status=verified&first_name=John&last_name=Smith&payer_email=buyer%40paypalsandbox.com&payer_id=TESTBUYERID01&address_name=John+Smith&address_country=United+States&address_country_code=US&address_zip=95131&address_state=CA&address_city=San+Jose&address_street=123+any+street&business=seller%40paypalsandbox.com&receiver_email=seller%40paypalsandbox.com&receiver_id=seller%40paypalsandbox.com&residence_country=US&item_name1=something&item_number1=AK-1234&tax=2.02&mc_currency=USD&mc_fee=0.44&mc_gross=12.34&mc_gross_1=12.34&mc_handling=2.06&mc_handling1=1.67&mc_shipping=3.02&mc_shipping1=1.02&txn_type=cart&txn_id=322624560&notify_version=2.1&custom=xyz123&invoice=abc1234&test_ipn=1&verify_sign=AC0mHADgHZCOp9yb3KBEhFHcfK.EATIofsAI4BOoej.lZWFOFc6-mBBm\r\n[2016-05-26 11:36 Europe/Rome] HTTP response of validation request: HTTP/1.1 200 OK\r\nDate: Thu, 26 May 2016 09:36:35 GMT\r\nServer: Apache\r\nX-Frame-Options: SAMEORIGIN\r\nSet-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=q3EDoFz3xzU8qwoeStT1WLy3rVSqCC04ggXDb9E-sqhzz5kz-MUa5dNOebpwNbpDMUZk-KCXoEU7756JGR3CqhVVE_PJsBISV2WI7CXDoBxXHOafDzdzaaBnpO6j3V_hDp0X9wQS6MZOr7xBW4IdCz_qX_keXORuA9j4FCzlu024HwYDJ7OaT4BztsXbxJfWdnic7cKrOdDhbMqYPGIPB-g94iiIgzG9J-rMNtjtkOtocgsIGtzogBH2wY2hDA1XjbhsyUMy5rRcJdHfe-rrgitkPD8e9d8AakOh7sptGIUfjyNTy1ZkkCT5UKJ3X2Qs1O6SvnRGyewxf5EZ8MO727pqB2pnzME1FRLcSMpbns6BNlk9jVIIYpKYrE8kRHrQrtyuwxabvThHgaRaNcn5jaj5sOXBDuEecOw1EFRUXE0Kv5dl5Qup0y66ju8; domain=.paypal.com; path=/; Secure; HttpOnly\r\nSet-Cookie: cookie_check=yes; expires=Sun, 24-May-2026 09:36:36 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\nSet-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly\r\nSet-Cookie: navlns=0.0; expires=Sat, 26-May-2018 09:36:36 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\nSet-Cookie: Apache=10.72.108.11.1464255395837996; path=/; expires=Sat, 19-May-46 09:36:35 GMT\r\nVary: Accept-Encoding,User-Agent\r\nConnection: close\r\nHTTP_X_PP_AZ_LOCATOR: sandbox.slc\r\nPaypal-Debug-Id: a68dc41cc80e0\r\nSet-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D1880%26app%3Dappdispatcher%26TIME%3D2747483735%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 26 May 2016 10:06:36 GMT; domain=.paypal.com; path=/; Secure; HttpOnly\r\nSet-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT\r\nStrict-Transport-Security: max-age=14400\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html; charset=UTF-8\r\n\r\nINVALID\r\n[2016-05-26 11:36 Europe/Rome] Invalid IPN: cmd=_notify-validate&payment_type=instant&payment_date=Thu+May+26+2016+11%3A25%3A05+GMT+0200+%28ora+legale+Europa+occidentale%29&payment_status=Completed&address_status=confirmed&payer_status=verified&first_name=John&last_name=Smith&payer_email=buyer%40paypalsandbox.com&payer_id=TESTBUYERID01&address_name=John+Smith&address_country=United+States&address_country_code=US&address_zip=95131&address_state=CA&address_city=San+Jose&address_street=123+any+street&business=seller%40paypalsandbox.com&receiver_email=seller%40paypalsandbox.com&receiver_id=seller%40paypalsandbox.com&residence_country=US&item_name1=something&item_number1=AK-1234&tax=2.02&mc_currency=USD&mc_fee=0.44&mc_gross=12.34&mc_gross_1=12.34&mc_handling=2.06&mc_handling1=1.67&mc_shipping=3.02&mc_shipping1=1.02&txn_type=cart&txn_id=322624560&notify_version=2.1&custom=xyz123&invoice=abc1234&test_ipn=1&verify_sign=AC0mHADgHZCOp9yb3KBEhFHcfK.EATIofsAI4BOoej.lZWFOFc6-mBBm\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/paypal/ipn-code-samples/issues/comments/222144119","html_url":"https://github.com/paypal/ipn-code-samples/issues/51#issuecomment-222144119","issue_url":"https://api.github.com/repos/paypal/ipn-code-samples/issues/51","id":222144119,"user":{"login":"FarrisFahad","id":6790094,"avatar_url":"https://avatars.githubusercontent.com/u/6790094?v=3","gravatar_id":"","url":"https://api.github.com/users/FarrisFahad","html_url":"https://github.com/FarrisFahad","followers_url":"https://api.github.com/users/FarrisFahad/followers","following_url":"https://api.github.com/users/FarrisFahad/following{/other_user}","gists_url":"https://api.github.com/users/FarrisFahad/gists{/gist_id}","starred_url":"https://api.github.com/users/FarrisFahad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FarrisFahad/subscriptions","organizations_url":"https://api.github.com/users/FarrisFahad/orgs","repos_url":"https://api.github.com/users/FarrisFahad/repos","events_url":"https://api.github.com/users/FarrisFahad/events{/privacy}","received_events_url":"https://api.github.com/users/FarrisFahad/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T13:19:45Z","updated_at":"2016-05-27T13:19:45Z","body":"Just don't specify a payment_date. It should work on live version, it's working for me."}}
{"actor":{"display_login":"FarrisFahad"}}