{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/active_merchant/pulls/comments/23934770","id":23934770,"diff_hunk":"@@ -251,6 +270,13 @@ def commit(action, request)\n           :authorization  => response[:tid]\n         )\n       end\n+      def commit_capture(action, authorization, request)","path":"lib/active_merchant/billing/gateways/pay_gate_xml.rb","position":53,"original_position":53,"commit_id":"dc95c173cd0fd6417b4ed5e14b454ff3d7d6656d","original_commit_id":"dc95c173cd0fd6417b4ed5e14b454ff3d7d6656d","user":{"login":"bizla","id":4581564,"avatar_url":"https://avatars.githubusercontent.com/u/4581564?v=3","gravatar_id":"","url":"https://api.github.com/users/bizla","html_url":"https://github.com/bizla","followers_url":"https://api.github.com/users/bizla/followers","following_url":"https://api.github.com/users/bizla/following{/other_user}","gists_url":"https://api.github.com/users/bizla/gists{/gist_id}","starred_url":"https://api.github.com/users/bizla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bizla/subscriptions","organizations_url":"https://api.github.com/users/bizla/orgs","repos_url":"https://api.github.com/users/bizla/repos","events_url":"https://api.github.com/users/bizla/events{/privacy}","received_events_url":"https://api.github.com/users/bizla/received_events","type":"User","site_admin":false},"body":"This method is largely a duplication of `#commit`. If you want to add the ability to pass in authorizations, augment the `#commit` method rather than duplicating it. See other integrations for examples of this.","created_at":"2015-02-02T16:14:27Z","updated_at":"2015-02-02T16:14:27Z","html_url":"https://github.com/Shopify/active_merchant/pull/1552#discussion_r23934770","pull_request_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552","_links":{"self":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/comments/23934770"},"html":{"href":"https://github.com/Shopify/active_merchant/pull/1552#discussion_r23934770"},"pull_request":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552","id":28459699,"html_url":"https://github.com/Shopify/active_merchant/pull/1552","diff_url":"https://github.com/Shopify/active_merchant/pull/1552.diff","patch_url":"https://github.com/Shopify/active_merchant/pull/1552.patch","issue_url":"https://api.github.com/repos/Shopify/active_merchant/issues/1552","number":1552,"state":"open","locked":false,"title":"Pay gate ip and email update","user":{"login":"StephanAtG2","id":6338416,"avatar_url":"https://avatars.githubusercontent.com/u/6338416?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanAtG2","html_url":"https://github.com/StephanAtG2","followers_url":"https://api.github.com/users/StephanAtG2/followers","following_url":"https://api.github.com/users/StephanAtG2/following{/other_user}","gists_url":"https://api.github.com/users/StephanAtG2/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanAtG2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanAtG2/subscriptions","organizations_url":"https://api.github.com/users/StephanAtG2/orgs","repos_url":"https://api.github.com/users/StephanAtG2/repos","events_url":"https://api.github.com/users/StephanAtG2/events{/privacy}","received_events_url":"https://api.github.com/users/StephanAtG2/received_events","type":"User","site_admin":false},"body":"Client requires that payprotect be used in the authtx. I have added this and updated the test cases to include this. Will confirm with paygate on what the behavior is when the email and ip is sent to paygate but not activated on the account.","created_at":"2015-02-02T11:01:53Z","updated_at":"2015-02-02T16:14:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5a6df684b1872ecb0bd4f0ce92630bb14c259d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552/commits","review_comments_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552/comments","review_comment_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Shopify/active_merchant/issues/1552/comments","statuses_url":"https://api.github.com/repos/Shopify/active_merchant/statuses/dc95c173cd0fd6417b4ed5e14b454ff3d7d6656d","head":{"label":"StephanAtG2:pay_gate_xml_update","ref":"pay_gate_xml_update","sha":"dc95c173cd0fd6417b4ed5e14b454ff3d7d6656d","user":{"login":"StephanAtG2","id":6338416,"avatar_url":"https://avatars.githubusercontent.com/u/6338416?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanAtG2","html_url":"https://github.com/StephanAtG2","followers_url":"https://api.github.com/users/StephanAtG2/followers","following_url":"https://api.github.com/users/StephanAtG2/following{/other_user}","gists_url":"https://api.github.com/users/StephanAtG2/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanAtG2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanAtG2/subscriptions","organizations_url":"https://api.github.com/users/StephanAtG2/orgs","repos_url":"https://api.github.com/users/StephanAtG2/repos","events_url":"https://api.github.com/users/StephanAtG2/events{/privacy}","received_events_url":"https://api.github.com/users/StephanAtG2/received_events","type":"User","site_admin":false},"repo":{"id":27807660,"name":"active_merchant","full_name":"StephanAtG2/active_merchant","owner":{"login":"StephanAtG2","id":6338416,"avatar_url":"https://avatars.githubusercontent.com/u/6338416?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanAtG2","html_url":"https://github.com/StephanAtG2","followers_url":"https://api.github.com/users/StephanAtG2/followers","following_url":"https://api.github.com/users/StephanAtG2/following{/other_user}","gists_url":"https://api.github.com/users/StephanAtG2/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanAtG2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanAtG2/subscriptions","organizations_url":"https://api.github.com/users/StephanAtG2/orgs","repos_url":"https://api.github.com/users/StephanAtG2/repos","events_url":"https://api.github.com/users/StephanAtG2/events{/privacy}","received_events_url":"https://api.github.com/users/StephanAtG2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StephanAtG2/active_merchant","description":"Active Merchant is a simple payment abstraction library extracted from Shopify. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.","fork":true,"url":"https://api.github.com/repos/StephanAtG2/active_merchant","forks_url":"https://api.github.com/repos/StephanAtG2/active_merchant/forks","keys_url":"https://api.github.com/repos/StephanAtG2/active_merchant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StephanAtG2/active_merchant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StephanAtG2/active_merchant/teams","hooks_url":"https://api.github.com/repos/StephanAtG2/active_merchant/hooks","issue_events_url":"https://api.github.com/repos/StephanAtG2/active_merchant/issues/events{/number}","events_url":"https://api.github.com/repos/StephanAtG2/active_merchant/events","assignees_url":"https://api.github.com/repos/StephanAtG2/active_merchant/assignees{/user}","branches_url":"https://api.github.com/repos/StephanAtG2/active_merchant/branches{/branch}","tags_url":"https://api.github.com/repos/StephanAtG2/active_merchant/tags","blobs_url":"https://api.github.com/repos/StephanAtG2/active_merchant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StephanAtG2/active_merchant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StephanAtG2/active_merchant/git/refs{/sha}","trees_url":"https://api.github.com/repos/StephanAtG2/active_merchant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StephanAtG2/active_merchant/statuses/{sha}","languages_url":"https://api.github.com/repos/StephanAtG2/active_merchant/languages","stargazers_url":"https://api.github.com/repos/StephanAtG2/active_merchant/stargazers","contributors_url":"https://api.github.com/repos/StephanAtG2/active_merchant/contributors","subscribers_url":"https://api.github.com/repos/StephanAtG2/active_merchant/subscribers","subscription_url":"https://api.github.com/repos/StephanAtG2/active_merchant/subscription","commits_url":"https://api.github.com/repos/StephanAtG2/active_merchant/commits{/sha}","git_commits_url":"https://api.github.com/repos/StephanAtG2/active_merchant/git/commits{/sha}","comments_url":"https://api.github.com/repos/StephanAtG2/active_merchant/comments{/number}","issue_comment_url":"https://api.github.com/repos/StephanAtG2/active_merchant/issues/comments/{number}","contents_url":"https://api.github.com/repos/StephanAtG2/active_merchant/contents/{+path}","compare_url":"https://api.github.com/repos/StephanAtG2/active_merchant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StephanAtG2/active_merchant/merges","archive_url":"https://api.github.com/repos/StephanAtG2/active_merchant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StephanAtG2/active_merchant/downloads","issues_url":"https://api.github.com/repos/StephanAtG2/active_merchant/issues{/number}","pulls_url":"https://api.github.com/repos/StephanAtG2/active_merchant/pulls{/number}","milestones_url":"https://api.github.com/repos/StephanAtG2/active_merchant/milestones{/number}","notifications_url":"https://api.github.com/repos/StephanAtG2/active_merchant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StephanAtG2/active_merchant/labels{/name}","releases_url":"https://api.github.com/repos/StephanAtG2/active_merchant/releases{/id}","created_at":"2014-12-10T07:30:56Z","updated_at":"2014-12-10T07:31:02Z","pushed_at":"2015-02-02T10:57:39Z","git_url":"git://github.com/StephanAtG2/active_merchant.git","ssh_url":"git@github.com:StephanAtG2/active_merchant.git","clone_url":"https://github.com/StephanAtG2/active_merchant.git","svn_url":"https://github.com/StephanAtG2/active_merchant","homepage":"http://activemerchant.org","size":11800,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"ceb540deb7ca63008bec4ffd0a71b3b01f758d2f","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":18294,"name":"active_merchant","full_name":"Shopify/active_merchant","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/active_merchant","description":"Active Merchant is a simple payment abstraction library extracted from Shopify. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.","fork":false,"url":"https://api.github.com/repos/Shopify/active_merchant","forks_url":"https://api.github.com/repos/Shopify/active_merchant/forks","keys_url":"https://api.github.com/repos/Shopify/active_merchant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/active_merchant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/active_merchant/teams","hooks_url":"https://api.github.com/repos/Shopify/active_merchant/hooks","issue_events_url":"https://api.github.com/repos/Shopify/active_merchant/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/active_merchant/events","assignees_url":"https://api.github.com/repos/Shopify/active_merchant/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/active_merchant/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/active_merchant/tags","blobs_url":"https://api.github.com/repos/Shopify/active_merchant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/active_merchant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/active_merchant/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/active_merchant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/active_merchant/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/active_merchant/languages","stargazers_url":"https://api.github.com/repos/Shopify/active_merchant/stargazers","contributors_url":"https://api.github.com/repos/Shopify/active_merchant/contributors","subscribers_url":"https://api.github.com/repos/Shopify/active_merchant/subscribers","subscription_url":"https://api.github.com/repos/Shopify/active_merchant/subscription","commits_url":"https://api.github.com/repos/Shopify/active_merchant/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/active_merchant/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/active_merchant/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/active_merchant/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shopify/active_merchant/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/active_merchant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/active_merchant/merges","archive_url":"https://api.github.com/repos/Shopify/active_merchant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/active_merchant/downloads","issues_url":"https://api.github.com/repos/Shopify/active_merchant/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/active_merchant/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/active_merchant/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/active_merchant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/active_merchant/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/active_merchant/releases{/id}","created_at":"2008-05-20T13:53:26Z","updated_at":"2015-02-02T15:33:20Z","pushed_at":"2015-01-30T15:51:09Z","git_url":"git://github.com/Shopify/active_merchant.git","ssh_url":"git@github.com:Shopify/active_merchant.git","clone_url":"https://github.com/Shopify/active_merchant.git","svn_url":"https://github.com/Shopify/active_merchant","homepage":"http://activemerchant.org","size":33407,"stargazers_count":2928,"watchers_count":2928,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1607,"mirror_url":null,"open_issues_count":30,"forks":1607,"open_issues":30,"watchers":2928,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552"},"html":{"href":"https://github.com/Shopify/active_merchant/pull/1552"},"issue":{"href":"https://api.github.com/repos/Shopify/active_merchant/issues/1552"},"comments":{"href":"https://api.github.com/repos/Shopify/active_merchant/issues/1552/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1552/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/active_merchant/statuses/dc95c173cd0fd6417b4ed5e14b454ff3d7d6656d"}}}}