{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/707","repository_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK","labels_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/707/comments","events_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/707/events","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/707","id":187557586,"number":707,"title":"INTERNAL_SERVICE_ERROR","user":{"login":"digitalhuman","id":780848,"avatar_url":"https://avatars.githubusercontent.com/u/780848?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalhuman","html_url":"https://github.com/digitalhuman","followers_url":"https://api.github.com/users/digitalhuman/followers","following_url":"https://api.github.com/users/digitalhuman/following{/other_user}","gists_url":"https://api.github.com/users/digitalhuman/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalhuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalhuman/subscriptions","organizations_url":"https://api.github.com/users/digitalhuman/orgs","repos_url":"https://api.github.com/users/digitalhuman/repos","events_url":"https://api.github.com/users/digitalhuman/events{/privacy}","received_events_url":"https://api.github.com/users/digitalhuman/received_events","type":"User","site_admin":false},"labels":[{"id":117853775,"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/labels/api-bug","name":"api-bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-06T12:05:16Z","updated_at":"2016-11-07T15:40:51Z","closed_at":null,"body":"### Required Information\r\n\r\n- PHP Version: 5.6\r\n- PayPal-PHP-SDK Version: Latest\r\n- Debug ID(s):  347a30a8862f8\r\n\r\n### Issue Description\r\n\r\nCreate payment request\r\n\r\n```\r\n{\r\n\t\"intent\": \"sale\",\r\n\t\"payer\": {\r\n\t\t\"payment_method\": \"paypal\"\r\n\t},\r\n\t\"transactions\": [\r\n\t\t{\r\n\t\t\t\"amount\": {\r\n\t\t\t\t\"total\": \"10.35\",\r\n\t\t\t\t\"currency\": \"USD\"\r\n\t\t\t}\r\n\t\t}\r\n\t],\r\n\t\"redirect_urls\": {\r\n\t\t\"return_url\": \"http://www.amazon.com\",\r\n\t\t\"cancel_url\": \"http://www.amazon.com\"\r\n\t}\r\n}\r\n```\r\n\r\n# Full request:\r\n\r\n```\r\nPOST https://api.sandbox.paypal.com/v1/payments/payment HTTP/1.1\r\nHost: api.sandbox.paypal.com\r\nConnection: keep-alive\r\nContent-Length: 283\r\nAuthorization: Bearer A101.-VERY SECRET-lTATb67OQqvjdn6BAWa8BXf-2EeDqIzrbm.-ACCESS-TOKEN-_mS\r\nCache-Control: no-cache\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36\r\nContent-Type: application/json\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: en-US,en;q=0.8,sv;q=0.6,nl;q=0.4\r\n\r\n{\r\n\t\"intent\": \"sale\",\r\n\t\"payer\": {\r\n\t\t\"payment_method\": \"paypal\"\r\n\t},\r\n\t\"transactions\": [\r\n\t\t{\r\n\t\t\t\"amount\": {\r\n\t\t\t\t\"total\": \"10.35\",\r\n\t\t\t\t\"currency\": \"USD\"\r\n\t\t\t}\r\n\t\t}\r\n\t],\r\n\t\"redirect_urls\": {\r\n\t\t\"return_url\": \"http://www.amazon.com\",\r\n\t\t\"cancel_url\": \"http://www.amazon.com\"\r\n\t}\r\n}\r\n```\r\n\r\nReturns with the error:\r\n\r\n```\r\n{\r\n  \"name\": \"INTERNAL_SERVICE_ERROR\",\r\n  \"message\": \"An internal service error has occurred\",\r\n  \"information_link\": \"https://developer.paypal.com/docs/api/#INTERNAL_SERVICE_ERROR\",\r\n  \"debug_id\": \"8d05854836ccf\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/comments/258869991","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/707#issuecomment-258869991","issue_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/707","id":258869991,"user":{"login":"digitalhuman","id":780848,"avatar_url":"https://avatars.githubusercontent.com/u/780848?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalhuman","html_url":"https://github.com/digitalhuman","followers_url":"https://api.github.com/users/digitalhuman/followers","following_url":"https://api.github.com/users/digitalhuman/following{/other_user}","gists_url":"https://api.github.com/users/digitalhuman/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalhuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalhuman/subscriptions","organizations_url":"https://api.github.com/users/digitalhuman/orgs","repos_url":"https://api.github.com/users/digitalhuman/repos","events_url":"https://api.github.com/users/digitalhuman/events{/privacy}","received_events_url":"https://api.github.com/users/digitalhuman/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T15:40:51Z","updated_at":"2016-11-07T15:40:51Z","body":"I am so happy that I did not waited for a solution ;) \r\n\r\n"}}
{"actor":{"display_login":"digitalhuman"}}