{"action":"created","comment":{"url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/comments/230206444","pull_request_review_id":170888944,"id":230206444,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDIwNjQ0NA==","diff_hunk":"@@ -0,0 +1,164 @@\n+<?php\n+\n+namespace Omnipay\\Vindicia\\Message;\n+\n+class ApplePayAuthorizeResponse extends Response\n+{\n+    /**\n+     * Is the response successful?\n+     * Throws an exception if there's no code.\n+     *\n+     * @return boolean\n+     * @throws \\Omnipay\\Common\\Exception\\InvalidResponseException\n+     */\n+    public function isSuccessful()\n+    {\n+        $statusCode = $this->getStatusCode();\n+        return ($statusCode >= 200 && $statusCode < 300) || $statusCode == 304;\n+    }\n+\n+    /**\n+     * Is the response successful?\n+     * Throws an exception if there's no code.","path":"src/Message/ApplePayAuthorizeResponse.php","position":22,"original_position":22,"commit_id":"0f00b2e6d3b6a02e292c05fb79b9b413dad0ed89","original_commit_id":"0f00b2e6d3b6a02e292c05fb79b9b413dad0ed89","user":{"login":"nickyr","id":1389687,"node_id":"MDQ6VXNlcjEzODk2ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/1389687?v=4","gravatar_id":"","url":"https://api.github.com/users/nickyr","html_url":"https://github.com/nickyr","followers_url":"https://api.github.com/users/nickyr/followers","following_url":"https://api.github.com/users/nickyr/following{/other_user}","gists_url":"https://api.github.com/users/nickyr/gists{/gist_id}","starred_url":"https://api.github.com/users/nickyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickyr/subscriptions","organizations_url":"https://api.github.com/users/nickyr/orgs","repos_url":"https://api.github.com/users/nickyr/repos","events_url":"https://api.github.com/users/nickyr/events{/privacy}","received_events_url":"https://api.github.com/users/nickyr/received_events","type":"User","site_admin":false},"body":"i don't see where the exception is being thrown tho","created_at":"2018-11-01T21:30:58Z","updated_at":"2018-11-01T21:39:44Z","html_url":"https://github.com/vimeo/omnipay-vindicia/pull/42#discussion_r230206444","pull_request_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/comments/230206444"},"html":{"href":"https://github.com/vimeo/omnipay-vindicia/pull/42#discussion_r230206444"},"pull_request":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42"}},"in_reply_to_id":230206398},"pull_request":{"url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42","id":212398284,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMzk4Mjg0","html_url":"https://github.com/vimeo/omnipay-vindicia/pull/42","diff_url":"https://github.com/vimeo/omnipay-vindicia/pull/42.diff","patch_url":"https://github.com/vimeo/omnipay-vindicia/pull/42.patch","issue_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues/42","number":42,"state":"open","locked":false,"title":"Add support for Apple Pay gateway","user":{"login":"DanayaMel","id":15119003,"node_id":"MDQ6VXNlcjE1MTE5MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/15119003?v=4","gravatar_id":"","url":"https://api.github.com/users/DanayaMel","html_url":"https://github.com/DanayaMel","followers_url":"https://api.github.com/users/DanayaMel/followers","following_url":"https://api.github.com/users/DanayaMel/following{/other_user}","gists_url":"https://api.github.com/users/DanayaMel/gists{/gist_id}","starred_url":"https://api.github.com/users/DanayaMel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanayaMel/subscriptions","organizations_url":"https://api.github.com/users/DanayaMel/orgs","repos_url":"https://api.github.com/users/DanayaMel/repos","events_url":"https://api.github.com/users/DanayaMel/events{/privacy}","received_events_url":"https://api.github.com/users/DanayaMel/received_events","type":"User","site_admin":false},"body":"Added support for Apple Pay gateway.","created_at":"2018-08-31T14:18:38Z","updated_at":"2018-11-01T21:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"859edb8a0c239a211114a2b5d9fd1f5c3250818f","assignee":{"login":"DanayaMel","id":15119003,"node_id":"MDQ6VXNlcjE1MTE5MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/15119003?v=4","gravatar_id":"","url":"https://api.github.com/users/DanayaMel","html_url":"https://github.com/DanayaMel","followers_url":"https://api.github.com/users/DanayaMel/followers","following_url":"https://api.github.com/users/DanayaMel/following{/other_user}","gists_url":"https://api.github.com/users/DanayaMel/gists{/gist_id}","starred_url":"https://api.github.com/users/DanayaMel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanayaMel/subscriptions","organizations_url":"https://api.github.com/users/DanayaMel/orgs","repos_url":"https://api.github.com/users/DanayaMel/repos","events_url":"https://api.github.com/users/DanayaMel/events{/privacy}","received_events_url":"https://api.github.com/users/DanayaMel/received_events","type":"User","site_admin":false},"assignees":[{"login":"DanayaMel","id":15119003,"node_id":"MDQ6VXNlcjE1MTE5MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/15119003?v=4","gravatar_id":"","url":"https://api.github.com/users/DanayaMel","html_url":"https://github.com/DanayaMel","followers_url":"https://api.github.com/users/DanayaMel/followers","following_url":"https://api.github.com/users/DanayaMel/following{/other_user}","gists_url":"https://api.github.com/users/DanayaMel/gists{/gist_id}","starred_url":"https://api.github.com/users/DanayaMel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanayaMel/subscriptions","organizations_url":"https://api.github.com/users/DanayaMel/orgs","repos_url":"https://api.github.com/users/DanayaMel/repos","events_url":"https://api.github.com/users/DanayaMel/events{/privacy}","received_events_url":"https://api.github.com/users/DanayaMel/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"JCManzo","id":3589097,"node_id":"MDQ6VXNlcjM1ODkwOTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3589097?v=4","gravatar_id":"","url":"https://api.github.com/users/JCManzo","html_url":"https://github.com/JCManzo","followers_url":"https://api.github.com/users/JCManzo/followers","following_url":"https://api.github.com/users/JCManzo/following{/other_user}","gists_url":"https://api.github.com/users/JCManzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JCManzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCManzo/subscriptions","organizations_url":"https://api.github.com/users/JCManzo/orgs","repos_url":"https://api.github.com/users/JCManzo/repos","events_url":"https://api.github.com/users/JCManzo/events{/privacy}","received_events_url":"https://api.github.com/users/JCManzo/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42/commits","review_comments_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42/comments","review_comment_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues/42/comments","statuses_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/statuses/0f00b2e6d3b6a02e292c05fb79b9b413dad0ed89","head":{"label":"DanayaMel:add-ApplePayGateway","ref":"add-ApplePayGateway","sha":"0f00b2e6d3b6a02e292c05fb79b9b413dad0ed89","user":{"login":"DanayaMel","id":15119003,"node_id":"MDQ6VXNlcjE1MTE5MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/15119003?v=4","gravatar_id":"","url":"https://api.github.com/users/DanayaMel","html_url":"https://github.com/DanayaMel","followers_url":"https://api.github.com/users/DanayaMel/followers","following_url":"https://api.github.com/users/DanayaMel/following{/other_user}","gists_url":"https://api.github.com/users/DanayaMel/gists{/gist_id}","starred_url":"https://api.github.com/users/DanayaMel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanayaMel/subscriptions","organizations_url":"https://api.github.com/users/DanayaMel/orgs","repos_url":"https://api.github.com/users/DanayaMel/repos","events_url":"https://api.github.com/users/DanayaMel/events{/privacy}","received_events_url":"https://api.github.com/users/DanayaMel/received_events","type":"User","site_admin":false},"repo":{"id":144188514,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxODg1MTQ=","name":"omnipay-vindicia","full_name":"DanayaMel/omnipay-vindicia","private":false,"owner":{"login":"DanayaMel","id":15119003,"node_id":"MDQ6VXNlcjE1MTE5MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/15119003?v=4","gravatar_id":"","url":"https://api.github.com/users/DanayaMel","html_url":"https://github.com/DanayaMel","followers_url":"https://api.github.com/users/DanayaMel/followers","following_url":"https://api.github.com/users/DanayaMel/following{/other_user}","gists_url":"https://api.github.com/users/DanayaMel/gists{/gist_id}","starred_url":"https://api.github.com/users/DanayaMel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanayaMel/subscriptions","organizations_url":"https://api.github.com/users/DanayaMel/orgs","repos_url":"https://api.github.com/users/DanayaMel/repos","events_url":"https://api.github.com/users/DanayaMel/events{/privacy}","received_events_url":"https://api.github.com/users/DanayaMel/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DanayaMel/omnipay-vindicia","description":"Vindicia driver for the Omnipay PHP payment processing library","fork":true,"url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia","forks_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/forks","keys_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/teams","hooks_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/hooks","issue_events_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/issues/events{/number}","events_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/events","assignees_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/assignees{/user}","branches_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/branches{/branch}","tags_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/tags","blobs_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/statuses/{sha}","languages_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/languages","stargazers_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/stargazers","contributors_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/contributors","subscribers_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/subscribers","subscription_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/subscription","commits_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/contents/{+path}","compare_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/merges","archive_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/downloads","issues_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/issues{/number}","pulls_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/pulls{/number}","milestones_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/milestones{/number}","notifications_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/labels{/name}","releases_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/releases{/id}","deployments_url":"https://api.github.com/repos/DanayaMel/omnipay-vindicia/deployments","created_at":"2018-08-09T18:17:42Z","updated_at":"2018-08-09T18:17:44Z","pushed_at":"2018-11-01T21:00:32Z","git_url":"git://github.com/DanayaMel/omnipay-vindicia.git","ssh_url":"git@github.com:DanayaMel/omnipay-vindicia.git","clone_url":"https://github.com/DanayaMel/omnipay-vindicia.git","svn_url":"https://github.com/DanayaMel/omnipay-vindicia","homepage":"","size":708,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"vimeo:master","ref":"master","sha":"c698c485ded5ddd4578e303a9680465171fe8d38","user":{"login":"vimeo","id":317769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzc2OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/317769?v=4","gravatar_id":"","url":"https://api.github.com/users/vimeo","html_url":"https://github.com/vimeo","followers_url":"https://api.github.com/users/vimeo/followers","following_url":"https://api.github.com/users/vimeo/following{/other_user}","gists_url":"https://api.github.com/users/vimeo/gists{/gist_id}","starred_url":"https://api.github.com/users/vimeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimeo/subscriptions","organizations_url":"https://api.github.com/users/vimeo/orgs","repos_url":"https://api.github.com/users/vimeo/repos","events_url":"https://api.github.com/users/vimeo/events{/privacy}","received_events_url":"https://api.github.com/users/vimeo/received_events","type":"Organization","site_admin":false},"repo":{"id":71167220,"node_id":"MDEwOlJlcG9zaXRvcnk3MTE2NzIyMA==","name":"omnipay-vindicia","full_name":"vimeo/omnipay-vindicia","private":false,"owner":{"login":"vimeo","id":317769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzc2OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/317769?v=4","gravatar_id":"","url":"https://api.github.com/users/vimeo","html_url":"https://github.com/vimeo","followers_url":"https://api.github.com/users/vimeo/followers","following_url":"https://api.github.com/users/vimeo/following{/other_user}","gists_url":"https://api.github.com/users/vimeo/gists{/gist_id}","starred_url":"https://api.github.com/users/vimeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimeo/subscriptions","organizations_url":"https://api.github.com/users/vimeo/orgs","repos_url":"https://api.github.com/users/vimeo/repos","events_url":"https://api.github.com/users/vimeo/events{/privacy}","received_events_url":"https://api.github.com/users/vimeo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vimeo/omnipay-vindicia","description":"Vindicia driver for the Omnipay PHP payment processing library","fork":false,"url":"https://api.github.com/repos/vimeo/omnipay-vindicia","forks_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/forks","keys_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/teams","hooks_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/hooks","issue_events_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues/events{/number}","events_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/events","assignees_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/assignees{/user}","branches_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/branches{/branch}","tags_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/tags","blobs_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/statuses/{sha}","languages_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/languages","stargazers_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/stargazers","contributors_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/contributors","subscribers_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/subscribers","subscription_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/subscription","commits_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/contents/{+path}","compare_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/merges","archive_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/downloads","issues_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues{/number}","pulls_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls{/number}","milestones_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/milestones{/number}","notifications_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/labels{/name}","releases_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/releases{/id}","deployments_url":"https://api.github.com/repos/vimeo/omnipay-vindicia/deployments","created_at":"2016-10-17T18:11:17Z","updated_at":"2018-10-25T18:04:50Z","pushed_at":"2018-11-01T21:00:33Z","git_url":"git://github.com/vimeo/omnipay-vindicia.git","ssh_url":"git@github.com:vimeo/omnipay-vindicia.git","clone_url":"https://github.com/vimeo/omnipay-vindicia.git","svn_url":"https://github.com/vimeo/omnipay-vindicia","homepage":"","size":654,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42"},"html":{"href":"https://github.com/vimeo/omnipay-vindicia/pull/42"},"issue":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues/42"},"comments":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/vimeo/omnipay-vindicia/statuses/0f00b2e6d3b6a02e292c05fb79b9b413dad0ed89"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nickyr"}}