{"action":"closed","issue":{"url":"https://api.github.com/repos/srmklive/laravel-paypal/issues/14","repository_url":"https://api.github.com/repos/srmklive/laravel-paypal","labels_url":"https://api.github.com/repos/srmklive/laravel-paypal/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/srmklive/laravel-paypal/issues/14/comments","events_url":"https://api.github.com/repos/srmklive/laravel-paypal/issues/14/events","html_url":"https://github.com/srmklive/laravel-paypal/issues/14","id":158158668,"number":14,"title":"bad error handling","user":{"login":"escapeboy","id":115266,"avatar_url":"https://avatars.githubusercontent.com/u/115266?v=3","gravatar_id":"","url":"https://api.github.com/users/escapeboy","html_url":"https://github.com/escapeboy","followers_url":"https://api.github.com/users/escapeboy/followers","following_url":"https://api.github.com/users/escapeboy/following{/other_user}","gists_url":"https://api.github.com/users/escapeboy/gists{/gist_id}","starred_url":"https://api.github.com/users/escapeboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escapeboy/subscriptions","organizations_url":"https://api.github.com/users/escapeboy/orgs","repos_url":"https://api.github.com/users/escapeboy/repos","events_url":"https://api.github.com/users/escapeboy/events{/privacy}","received_events_url":"https://api.github.com/users/escapeboy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-02T14:43:16Z","updated_at":"2016-06-03T07:34:03Z","closed_at":"2016-06-03T07:34:03Z","body":"in PayPalRequest.php\r\ndoPayPalRequest()\r\n```\r\nif (!empty($response['TOKEN'])) {....\r\nelse{\r\n// no connection\r\n}\r\n```\r\nbut it's also thrown \"no connection\" if other error happen. As in my case when total of items is different from the order total. I suppose it's for the translation.\r\nI think better way of this will be to return the error returned by paypal. To know what really happened."}}
{"actor":{"display_login":"srmklive"}}