{"action":"created","comment":{"url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/comments/73761949","id":73761949,"diff_hunk":"@@ -545,6 +545,42 @@\n     end\n   end\n \n+  shared_examples 'success_auth_capture_and_refund' do\n+    it 'should be able to auth, capture and refund with descriptors' do\n+      @pm = create_payment_method(::Killbill::Cybersource::CybersourcePaymentMethod, nil, @call_context.tenant_id, @properties)\n+\n+      payment_response = @plugin.authorize_payment(@pm.kb_account_id, payment_id, SecureRandom.uuid, @pm.kb_payment_method_id, @amount, @currency, @properties, @call_context)\n+      check_response(payment_response, @amount, :AUTHORIZE, :PROCESSED, 'Successful transaction', '100')\n+\n+      # Try a captures","path":"spec/cybersource/remote/integration_spec.rb","position":11,"original_position":11,"commit_id":"8a1b2e26625c710467f416108959e08baff3f552","original_commit_id":"8a1b2e26625c710467f416108959e08baff3f552","user":{"login":"pierre","id":51940,"avatar_url":"https://avatars.githubusercontent.com/u/51940?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre","html_url":"https://github.com/pierre","followers_url":"https://api.github.com/users/pierre/followers","following_url":"https://api.github.com/users/pierre/following{/other_user}","gists_url":"https://api.github.com/users/pierre/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre/subscriptions","organizations_url":"https://api.github.com/users/pierre/orgs","repos_url":"https://api.github.com/users/pierre/repos","events_url":"https://api.github.com/users/pierre/events{/privacy}","received_events_url":"https://api.github.com/users/pierre/received_events","type":"User","site_admin":false},"body":"Typo: `capture`.","created_at":"2016-08-05T21:26:32Z","updated_at":"2016-08-05T21:26:32Z","html_url":"https://github.com/killbill/killbill-cybersource-plugin/pull/7#discussion_r73761949","pull_request_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/comments/73761949"},"html":{"href":"https://github.com/killbill/killbill-cybersource-plugin/pull/7#discussion_r73761949"},"pull_request":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7","id":76481015,"html_url":"https://github.com/killbill/killbill-cybersource-plugin/pull/7","diff_url":"https://github.com/killbill/killbill-cybersource-plugin/pull/7.diff","patch_url":"https://github.com/killbill/killbill-cybersource-plugin/pull/7.patch","issue_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues/7","number":7,"state":"open","locked":false,"title":"add soft descriptor support","user":{"login":"unieagle","id":3896193,"avatar_url":"https://avatars.githubusercontent.com/u/3896193?v=3","gravatar_id":"","url":"https://api.github.com/users/unieagle","html_url":"https://github.com/unieagle","followers_url":"https://api.github.com/users/unieagle/followers","following_url":"https://api.github.com/users/unieagle/following{/other_user}","gists_url":"https://api.github.com/users/unieagle/gists{/gist_id}","starred_url":"https://api.github.com/users/unieagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unieagle/subscriptions","organizations_url":"https://api.github.com/users/unieagle/orgs","repos_url":"https://api.github.com/users/unieagle/repos","events_url":"https://api.github.com/users/unieagle/events{/privacy}","received_events_url":"https://api.github.com/users/unieagle/received_events","type":"User","site_admin":false},"body":"@sbrossie @pierre Please review, thanks!","created_at":"2016-07-06T18:42:19Z","updated_at":"2016-08-05T21:26:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad32f87fb7338eddc580ee095321b94172cf3aea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7/commits","review_comments_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7/comments","review_comment_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues/7/comments","statuses_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/statuses/8a1b2e26625c710467f416108959e08baff3f552","head":{"label":"unieagle:xqiu_add_soft_descriptor","ref":"xqiu_add_soft_descriptor","sha":"8a1b2e26625c710467f416108959e08baff3f552","user":{"login":"unieagle","id":3896193,"avatar_url":"https://avatars.githubusercontent.com/u/3896193?v=3","gravatar_id":"","url":"https://api.github.com/users/unieagle","html_url":"https://github.com/unieagle","followers_url":"https://api.github.com/users/unieagle/followers","following_url":"https://api.github.com/users/unieagle/following{/other_user}","gists_url":"https://api.github.com/users/unieagle/gists{/gist_id}","starred_url":"https://api.github.com/users/unieagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unieagle/subscriptions","organizations_url":"https://api.github.com/users/unieagle/orgs","repos_url":"https://api.github.com/users/unieagle/repos","events_url":"https://api.github.com/users/unieagle/events{/privacy}","received_events_url":"https://api.github.com/users/unieagle/received_events","type":"User","site_admin":false},"repo":{"id":62744840,"name":"killbill-cybersource-plugin","full_name":"unieagle/killbill-cybersource-plugin","owner":{"login":"unieagle","id":3896193,"avatar_url":"https://avatars.githubusercontent.com/u/3896193?v=3","gravatar_id":"","url":"https://api.github.com/users/unieagle","html_url":"https://github.com/unieagle","followers_url":"https://api.github.com/users/unieagle/followers","following_url":"https://api.github.com/users/unieagle/following{/other_user}","gists_url":"https://api.github.com/users/unieagle/gists{/gist_id}","starred_url":"https://api.github.com/users/unieagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unieagle/subscriptions","organizations_url":"https://api.github.com/users/unieagle/orgs","repos_url":"https://api.github.com/users/unieagle/repos","events_url":"https://api.github.com/users/unieagle/events{/privacy}","received_events_url":"https://api.github.com/users/unieagle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unieagle/killbill-cybersource-plugin","description":"Plugin to use CyberSource as a gateway","fork":true,"url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin","forks_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/forks","keys_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/teams","hooks_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/hooks","issue_events_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/events","assignees_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/tags","blobs_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/languages","stargazers_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/stargazers","contributors_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/contributors","subscribers_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/subscribers","subscription_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/subscription","commits_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/merges","archive_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/downloads","issues_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/labels{/name}","releases_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/unieagle/killbill-cybersource-plugin/deployments","created_at":"2016-07-06T18:39:31Z","updated_at":"2016-07-06T18:39:32Z","pushed_at":"2016-08-05T21:09:52Z","git_url":"git://github.com/unieagle/killbill-cybersource-plugin.git","ssh_url":"git@github.com:unieagle/killbill-cybersource-plugin.git","clone_url":"https://github.com/unieagle/killbill-cybersource-plugin.git","svn_url":"https://github.com/unieagle/killbill-cybersource-plugin","homepage":null,"size":171,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"killbill:master","ref":"master","sha":"a1af3e4c2e13ef94c2e5607fd33927e4f5cbda30","user":{"login":"killbill","id":2446739,"avatar_url":"https://avatars.githubusercontent.com/u/2446739?v=3","gravatar_id":"","url":"https://api.github.com/users/killbill","html_url":"https://github.com/killbill","followers_url":"https://api.github.com/users/killbill/followers","following_url":"https://api.github.com/users/killbill/following{/other_user}","gists_url":"https://api.github.com/users/killbill/gists{/gist_id}","starred_url":"https://api.github.com/users/killbill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killbill/subscriptions","organizations_url":"https://api.github.com/users/killbill/orgs","repos_url":"https://api.github.com/users/killbill/repos","events_url":"https://api.github.com/users/killbill/events{/privacy}","received_events_url":"https://api.github.com/users/killbill/received_events","type":"Organization","site_admin":false},"repo":{"id":18994843,"name":"killbill-cybersource-plugin","full_name":"killbill/killbill-cybersource-plugin","owner":{"login":"killbill","id":2446739,"avatar_url":"https://avatars.githubusercontent.com/u/2446739?v=3","gravatar_id":"","url":"https://api.github.com/users/killbill","html_url":"https://github.com/killbill","followers_url":"https://api.github.com/users/killbill/followers","following_url":"https://api.github.com/users/killbill/following{/other_user}","gists_url":"https://api.github.com/users/killbill/gists{/gist_id}","starred_url":"https://api.github.com/users/killbill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killbill/subscriptions","organizations_url":"https://api.github.com/users/killbill/orgs","repos_url":"https://api.github.com/users/killbill/repos","events_url":"https://api.github.com/users/killbill/events{/privacy}","received_events_url":"https://api.github.com/users/killbill/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/killbill/killbill-cybersource-plugin","description":"Plugin to use CyberSource as a gateway","fork":false,"url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin","forks_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/forks","keys_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/teams","hooks_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/hooks","issue_events_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/events","assignees_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/tags","blobs_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/languages","stargazers_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/stargazers","contributors_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/contributors","subscribers_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/subscribers","subscription_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/subscription","commits_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/merges","archive_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/downloads","issues_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/labels{/name}","releases_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/deployments","created_at":"2014-04-21T14:28:37Z","updated_at":"2016-02-01T20:25:03Z","pushed_at":"2016-08-05T21:09:52Z","git_url":"git://github.com/killbill/killbill-cybersource-plugin.git","ssh_url":"git@github.com:killbill/killbill-cybersource-plugin.git","clone_url":"https://github.com/killbill/killbill-cybersource-plugin.git","svn_url":"https://github.com/killbill/killbill-cybersource-plugin","homepage":null,"size":168,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7"},"html":{"href":"https://github.com/killbill/killbill-cybersource-plugin/pull/7"},"issue":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues/7"},"comments":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/killbill/killbill-cybersource-plugin/statuses/8a1b2e26625c710467f416108959e08baff3f552"}}}}
{"actor":{"display_login":"pierre"}}