{"action":"created","comment":{"url":"https://api.github.com/repos/Vreasy/Payum/pulls/comments/92844542","pull_request_review_id":13367726,"id":92844542,"diff_hunk":"@@ -0,0 +1,34 @@\n+<?php\n+namespace Payum\\Stripe\\Action;\n+\n+use Payum\\Core\\Action\\ActionInterface;\n+use Payum\\Core\\Bridge\\Spl\\ArrayObject;\n+use Payum\\Core\\Exception\\RequestNotSupportedException;\n+use Payum\\Core\\Request\\GetRefundInfoInterface;\n+\n+class RefundInfoAction implements ActionInterface\n+{\n+    /**\n+     * {@inheritDoc}\n+     *\n+     * @param GetRefundInfoInterface $request\n+     */\n+    public function execute($request)\n+    {\n+        RequestNotSupportedException::assertSupports($this, $request);\n+\n+        $model = ArrayObject::ensureArrayObject($request->getModel());\n+\n+        $request->setRefundId(@$model['id']);","path":"src/Payum/Stripe/Action/RefundInfoAction.php","position":22,"original_position":22,"commit_id":"0761d49a6a9879d36bc57c852c16585354c84e53","original_commit_id":"0761d49a6a9879d36bc57c852c16585354c84e53","user":{"login":"bbwebconsult","id":7089997,"avatar_url":"https://avatars.githubusercontent.com/u/7089997?v=3","gravatar_id":"","url":"https://api.github.com/users/bbwebconsult","html_url":"https://github.com/bbwebconsult","followers_url":"https://api.github.com/users/bbwebconsult/followers","following_url":"https://api.github.com/users/bbwebconsult/following{/other_user}","gists_url":"https://api.github.com/users/bbwebconsult/gists{/gist_id}","starred_url":"https://api.github.com/users/bbwebconsult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbwebconsult/subscriptions","organizations_url":"https://api.github.com/users/bbwebconsult/orgs","repos_url":"https://api.github.com/users/bbwebconsult/repos","events_url":"https://api.github.com/users/bbwebconsult/events{/privacy}","received_events_url":"https://api.github.com/users/bbwebconsult/received_events","type":"User","site_admin":false},"body":"@xabierlegasa we should check what happens in case of error. The id is usually somewhere else.\r\nSee [TransactionInfoAction](https://github.com/Vreasy/Payum/blob/master/src/Payum/Stripe/Action/TransactionInfoAction.php#L23)","created_at":"2016-12-16T16:45:21Z","updated_at":"2016-12-16T16:45:53Z","html_url":"https://github.com/Vreasy/Payum/pull/4#discussion_r92844542","pull_request_url":"https://api.github.com/repos/Vreasy/Payum/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Vreasy/Payum/pulls/comments/92844542"},"html":{"href":"https://github.com/Vreasy/Payum/pull/4#discussion_r92844542"},"pull_request":{"href":"https://api.github.com/repos/Vreasy/Payum/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Vreasy/Payum/pulls/4","id":98358380,"html_url":"https://github.com/Vreasy/Payum/pull/4","diff_url":"https://github.com/Vreasy/Payum/pull/4.diff","patch_url":"https://github.com/Vreasy/Payum/pull/4.patch","issue_url":"https://api.github.com/repos/Vreasy/Payum/issues/4","number":4,"state":"open","locked":false,"title":"WEB-2190 Get refund info after a refund","user":{"login":"xabierlegasa","id":4048826,"avatar_url":"https://avatars.githubusercontent.com/u/4048826?v=3","gravatar_id":"","url":"https://api.github.com/users/xabierlegasa","html_url":"https://github.com/xabierlegasa","followers_url":"https://api.github.com/users/xabierlegasa/followers","following_url":"https://api.github.com/users/xabierlegasa/following{/other_user}","gists_url":"https://api.github.com/users/xabierlegasa/gists{/gist_id}","starred_url":"https://api.github.com/users/xabierlegasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabierlegasa/subscriptions","organizations_url":"https://api.github.com/users/xabierlegasa/orgs","repos_url":"https://api.github.com/users/xabierlegasa/repos","events_url":"https://api.github.com/users/xabierlegasa/events{/privacy}","received_events_url":"https://api.github.com/users/xabierlegasa/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-16T15:59:37Z","updated_at":"2016-12-16T16:45:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b3dd60a1384f2ac5faa1d812ee542a62bc8c2a2","assignee":{"login":"gpou","id":2346947,"avatar_url":"https://avatars.githubusercontent.com/u/2346947?v=3","gravatar_id":"","url":"https://api.github.com/users/gpou","html_url":"https://github.com/gpou","followers_url":"https://api.github.com/users/gpou/followers","following_url":"https://api.github.com/users/gpou/following{/other_user}","gists_url":"https://api.github.com/users/gpou/gists{/gist_id}","starred_url":"https://api.github.com/users/gpou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpou/subscriptions","organizations_url":"https://api.github.com/users/gpou/orgs","repos_url":"https://api.github.com/users/gpou/repos","events_url":"https://api.github.com/users/gpou/events{/privacy}","received_events_url":"https://api.github.com/users/gpou/received_events","type":"User","site_admin":false},"assignees":[{"login":"gpou","id":2346947,"avatar_url":"https://avatars.githubusercontent.com/u/2346947?v=3","gravatar_id":"","url":"https://api.github.com/users/gpou","html_url":"https://github.com/gpou","followers_url":"https://api.github.com/users/gpou/followers","following_url":"https://api.github.com/users/gpou/following{/other_user}","gists_url":"https://api.github.com/users/gpou/gists{/gist_id}","starred_url":"https://api.github.com/users/gpou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpou/subscriptions","organizations_url":"https://api.github.com/users/gpou/orgs","repos_url":"https://api.github.com/users/gpou/repos","events_url":"https://api.github.com/users/gpou/events{/privacy}","received_events_url":"https://api.github.com/users/gpou/received_events","type":"User","site_admin":false},{"login":"bbwebconsult","id":7089997,"avatar_url":"https://avatars.githubusercontent.com/u/7089997?v=3","gravatar_id":"","url":"https://api.github.com/users/bbwebconsult","html_url":"https://github.com/bbwebconsult","followers_url":"https://api.github.com/users/bbwebconsult/followers","following_url":"https://api.github.com/users/bbwebconsult/following{/other_user}","gists_url":"https://api.github.com/users/bbwebconsult/gists{/gist_id}","starred_url":"https://api.github.com/users/bbwebconsult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbwebconsult/subscriptions","organizations_url":"https://api.github.com/users/bbwebconsult/orgs","repos_url":"https://api.github.com/users/bbwebconsult/repos","events_url":"https://api.github.com/users/bbwebconsult/events{/privacy}","received_events_url":"https://api.github.com/users/bbwebconsult/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Vreasy/Payum/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Vreasy/Payum/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Vreasy/Payum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vreasy/Payum/issues/4/comments","statuses_url":"https://api.github.com/repos/Vreasy/Payum/statuses/0761d49a6a9879d36bc57c852c16585354c84e53","head":{"label":"Vreasy:WEB-2190","ref":"WEB-2190","sha":"0761d49a6a9879d36bc57c852c16585354c84e53","user":{"login":"Vreasy","id":4972442,"avatar_url":"https://avatars.githubusercontent.com/u/4972442?v=3","gravatar_id":"","url":"https://api.github.com/users/Vreasy","html_url":"https://github.com/Vreasy","followers_url":"https://api.github.com/users/Vreasy/followers","following_url":"https://api.github.com/users/Vreasy/following{/other_user}","gists_url":"https://api.github.com/users/Vreasy/gists{/gist_id}","starred_url":"https://api.github.com/users/Vreasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vreasy/subscriptions","organizations_url":"https://api.github.com/users/Vreasy/orgs","repos_url":"https://api.github.com/users/Vreasy/repos","events_url":"https://api.github.com/users/Vreasy/events{/privacy}","received_events_url":"https://api.github.com/users/Vreasy/received_events","type":"Organization","site_admin":false},"repo":{"id":71802704,"name":"Payum","full_name":"Vreasy/Payum","owner":{"login":"Vreasy","id":4972442,"avatar_url":"https://avatars.githubusercontent.com/u/4972442?v=3","gravatar_id":"","url":"https://api.github.com/users/Vreasy","html_url":"https://github.com/Vreasy","followers_url":"https://api.github.com/users/Vreasy/followers","following_url":"https://api.github.com/users/Vreasy/following{/other_user}","gists_url":"https://api.github.com/users/Vreasy/gists{/gist_id}","starred_url":"https://api.github.com/users/Vreasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vreasy/subscriptions","organizations_url":"https://api.github.com/users/Vreasy/orgs","repos_url":"https://api.github.com/users/Vreasy/repos","events_url":"https://api.github.com/users/Vreasy/events{/privacy}","received_events_url":"https://api.github.com/users/Vreasy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vreasy/Payum","description":"PHP 5.5+ Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc.","fork":true,"url":"https://api.github.com/repos/Vreasy/Payum","forks_url":"https://api.github.com/repos/Vreasy/Payum/forks","keys_url":"https://api.github.com/repos/Vreasy/Payum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vreasy/Payum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vreasy/Payum/teams","hooks_url":"https://api.github.com/repos/Vreasy/Payum/hooks","issue_events_url":"https://api.github.com/repos/Vreasy/Payum/issues/events{/number}","events_url":"https://api.github.com/repos/Vreasy/Payum/events","assignees_url":"https://api.github.com/repos/Vreasy/Payum/assignees{/user}","branches_url":"https://api.github.com/repos/Vreasy/Payum/branches{/branch}","tags_url":"https://api.github.com/repos/Vreasy/Payum/tags","blobs_url":"https://api.github.com/repos/Vreasy/Payum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vreasy/Payum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vreasy/Payum/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vreasy/Payum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vreasy/Payum/statuses/{sha}","languages_url":"https://api.github.com/repos/Vreasy/Payum/languages","stargazers_url":"https://api.github.com/repos/Vreasy/Payum/stargazers","contributors_url":"https://api.github.com/repos/Vreasy/Payum/contributors","subscribers_url":"https://api.github.com/repos/Vreasy/Payum/subscribers","subscription_url":"https://api.github.com/repos/Vreasy/Payum/subscription","commits_url":"https://api.github.com/repos/Vreasy/Payum/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vreasy/Payum/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vreasy/Payum/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vreasy/Payum/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vreasy/Payum/contents/{+path}","compare_url":"https://api.github.com/repos/Vreasy/Payum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vreasy/Payum/merges","archive_url":"https://api.github.com/repos/Vreasy/Payum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vreasy/Payum/downloads","issues_url":"https://api.github.com/repos/Vreasy/Payum/issues{/number}","pulls_url":"https://api.github.com/repos/Vreasy/Payum/pulls{/number}","milestones_url":"https://api.github.com/repos/Vreasy/Payum/milestones{/number}","notifications_url":"https://api.github.com/repos/Vreasy/Payum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vreasy/Payum/labels{/name}","releases_url":"https://api.github.com/repos/Vreasy/Payum/releases{/id}","deployments_url":"https://api.github.com/repos/Vreasy/Payum/deployments","created_at":"2016-10-24T15:24:35Z","updated_at":"2016-10-24T15:24:38Z","pushed_at":"2016-12-16T15:59:37Z","git_url":"git://github.com/Vreasy/Payum.git","ssh_url":"git@github.com:Vreasy/Payum.git","clone_url":"https://github.com/Vreasy/Payum.git","svn_url":"https://github.com/Vreasy/Payum","homepage":"","size":4388,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Vreasy:master","ref":"master","sha":"6cf1b48bd474fac60cecc79efdb425a2bfaf6063","user":{"login":"Vreasy","id":4972442,"avatar_url":"https://avatars.githubusercontent.com/u/4972442?v=3","gravatar_id":"","url":"https://api.github.com/users/Vreasy","html_url":"https://github.com/Vreasy","followers_url":"https://api.github.com/users/Vreasy/followers","following_url":"https://api.github.com/users/Vreasy/following{/other_user}","gists_url":"https://api.github.com/users/Vreasy/gists{/gist_id}","starred_url":"https://api.github.com/users/Vreasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vreasy/subscriptions","organizations_url":"https://api.github.com/users/Vreasy/orgs","repos_url":"https://api.github.com/users/Vreasy/repos","events_url":"https://api.github.com/users/Vreasy/events{/privacy}","received_events_url":"https://api.github.com/users/Vreasy/received_events","type":"Organization","site_admin":false},"repo":{"id":71802704,"name":"Payum","full_name":"Vreasy/Payum","owner":{"login":"Vreasy","id":4972442,"avatar_url":"https://avatars.githubusercontent.com/u/4972442?v=3","gravatar_id":"","url":"https://api.github.com/users/Vreasy","html_url":"https://github.com/Vreasy","followers_url":"https://api.github.com/users/Vreasy/followers","following_url":"https://api.github.com/users/Vreasy/following{/other_user}","gists_url":"https://api.github.com/users/Vreasy/gists{/gist_id}","starred_url":"https://api.github.com/users/Vreasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vreasy/subscriptions","organizations_url":"https://api.github.com/users/Vreasy/orgs","repos_url":"https://api.github.com/users/Vreasy/repos","events_url":"https://api.github.com/users/Vreasy/events{/privacy}","received_events_url":"https://api.github.com/users/Vreasy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vreasy/Payum","description":"PHP 5.5+ Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc.","fork":true,"url":"https://api.github.com/repos/Vreasy/Payum","forks_url":"https://api.github.com/repos/Vreasy/Payum/forks","keys_url":"https://api.github.com/repos/Vreasy/Payum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vreasy/Payum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vreasy/Payum/teams","hooks_url":"https://api.github.com/repos/Vreasy/Payum/hooks","issue_events_url":"https://api.github.com/repos/Vreasy/Payum/issues/events{/number}","events_url":"https://api.github.com/repos/Vreasy/Payum/events","assignees_url":"https://api.github.com/repos/Vreasy/Payum/assignees{/user}","branches_url":"https://api.github.com/repos/Vreasy/Payum/branches{/branch}","tags_url":"https://api.github.com/repos/Vreasy/Payum/tags","blobs_url":"https://api.github.com/repos/Vreasy/Payum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vreasy/Payum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vreasy/Payum/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vreasy/Payum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vreasy/Payum/statuses/{sha}","languages_url":"https://api.github.com/repos/Vreasy/Payum/languages","stargazers_url":"https://api.github.com/repos/Vreasy/Payum/stargazers","contributors_url":"https://api.github.com/repos/Vreasy/Payum/contributors","subscribers_url":"https://api.github.com/repos/Vreasy/Payum/subscribers","subscription_url":"https://api.github.com/repos/Vreasy/Payum/subscription","commits_url":"https://api.github.com/repos/Vreasy/Payum/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vreasy/Payum/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vreasy/Payum/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vreasy/Payum/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vreasy/Payum/contents/{+path}","compare_url":"https://api.github.com/repos/Vreasy/Payum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vreasy/Payum/merges","archive_url":"https://api.github.com/repos/Vreasy/Payum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vreasy/Payum/downloads","issues_url":"https://api.github.com/repos/Vreasy/Payum/issues{/number}","pulls_url":"https://api.github.com/repos/Vreasy/Payum/pulls{/number}","milestones_url":"https://api.github.com/repos/Vreasy/Payum/milestones{/number}","notifications_url":"https://api.github.com/repos/Vreasy/Payum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vreasy/Payum/labels{/name}","releases_url":"https://api.github.com/repos/Vreasy/Payum/releases{/id}","deployments_url":"https://api.github.com/repos/Vreasy/Payum/deployments","created_at":"2016-10-24T15:24:35Z","updated_at":"2016-10-24T15:24:38Z","pushed_at":"2016-12-16T15:59:37Z","git_url":"git://github.com/Vreasy/Payum.git","ssh_url":"git@github.com:Vreasy/Payum.git","clone_url":"https://github.com/Vreasy/Payum.git","svn_url":"https://github.com/Vreasy/Payum","homepage":"","size":4388,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vreasy/Payum/pulls/4"},"html":{"href":"https://github.com/Vreasy/Payum/pull/4"},"issue":{"href":"https://api.github.com/repos/Vreasy/Payum/issues/4"},"comments":{"href":"https://api.github.com/repos/Vreasy/Payum/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Vreasy/Payum/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Vreasy/Payum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vreasy/Payum/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Vreasy/Payum/statuses/0761d49a6a9879d36bc57c852c16585354c84e53"}}}}
{"actor":{"display_login":"bbwebconsult"}}