{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/active_merchant/pulls/comments/26390935","id":26390935,"diff_hunk":"@@ -294,6 +294,14 @@ def add_creditcard(post, creditcard, options)\n           end\n \n           post[:card] = card\n+\n+          if creditcard.is_a?(NetworkTokenizationCreditCard)","path":"lib/active_merchant/billing/gateways/stripe.rb","position":5,"original_position":5,"commit_id":"2161d68d517cd10f48fb50faa65fc9e61cce66fa","original_commit_id":"2161d68d517cd10f48fb50faa65fc9e61cce66fa","user":{"login":"jnormore","id":1075591,"avatar_url":"https://avatars.githubusercontent.com/u/1075591?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormore","html_url":"https://github.com/jnormore","followers_url":"https://api.github.com/users/jnormore/followers","following_url":"https://api.github.com/users/jnormore/following{/other_user}","gists_url":"https://api.github.com/users/jnormore/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormore/subscriptions","organizations_url":"https://api.github.com/users/jnormore/orgs","repos_url":"https://api.github.com/users/jnormore/repos","events_url":"https://api.github.com/users/jnormore/events{/privacy}","received_events_url":"https://api.github.com/users/jnormore/received_events","type":"User","site_admin":false},"body":"Could be a decrypted apple pay token, in general a credit card with the extra verification required for network tokenization","created_at":"2015-03-13T14:46:19Z","updated_at":"2015-03-13T14:46:19Z","html_url":"https://github.com/Shopify/active_merchant/pull/1616#discussion_r26390935","pull_request_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616","_links":{"self":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/comments/26390935"},"html":{"href":"https://github.com/Shopify/active_merchant/pull/1616#discussion_r26390935"},"pull_request":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616","id":31096284,"html_url":"https://github.com/Shopify/active_merchant/pull/1616","diff_url":"https://github.com/Shopify/active_merchant/pull/1616.diff","patch_url":"https://github.com/Shopify/active_merchant/pull/1616.patch","issue_url":"https://api.github.com/repos/Shopify/active_merchant/issues/1616","number":1616,"state":"open","locked":false,"title":"Add apple pay support for Stripe","user":{"login":"jnormore","id":1075591,"avatar_url":"https://avatars.githubusercontent.com/u/1075591?v=3","gravatar_id":"","url":"https://api.github.com/users/jnormore","html_url":"https://github.com/jnormore","followers_url":"https://api.github.com/users/jnormore/followers","following_url":"https://api.github.com/users/jnormore/following{/other_user}","gists_url":"https://api.github.com/users/jnormore/gists{/gist_id}","starred_url":"https://api.github.com/users/jnormore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnormore/subscriptions","organizations_url":"https://api.github.com/users/jnormore/orgs","repos_url":"https://api.github.com/users/jnormore/repos","events_url":"https://api.github.com/users/jnormore/events{/privacy}","received_events_url":"https://api.github.com/users/jnormore/received_events","type":"User","site_admin":false},"body":"Add decrypted apple pay support for Stripe\r\n\r\n@rwdaigle @bizla for review please, thanks!\r\n\r\ncc @louiskearns ","created_at":"2015-03-13T02:47:33Z","updated_at":"2015-03-13T14:46:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"853b285845ffdb4aa8173e576a36e051e6cff073","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616/commits","review_comments_url":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616/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/1616/comments","statuses_url":"https://api.github.com/repos/Shopify/active_merchant/statuses/2161d68d517cd10f48fb50faa65fc9e61cce66fa","head":{"label":"Shopify:apple-pay-stripe","ref":"apple-pay-stripe","sha":"2161d68d517cd10f48fb50faa65fc9e61cce66fa","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-03-12T19:38:02Z","pushed_at":"2015-03-13T14:30:04Z","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":33966,"stargazers_count":2976,"watchers_count":2976,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1631,"mirror_url":null,"open_issues_count":31,"forks":1631,"open_issues":31,"watchers":2976,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"a0c1123ecedaf46b74a6da6d879ef08959fc8131","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-03-12T19:38:02Z","pushed_at":"2015-03-13T14:30:04Z","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":33966,"stargazers_count":2976,"watchers_count":2976,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1631,"mirror_url":null,"open_issues_count":31,"forks":1631,"open_issues":31,"watchers":2976,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616"},"html":{"href":"https://github.com/Shopify/active_merchant/pull/1616"},"issue":{"href":"https://api.github.com/repos/Shopify/active_merchant/issues/1616"},"comments":{"href":"https://api.github.com/repos/Shopify/active_merchant/issues/1616/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/active_merchant/pulls/1616/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/1616/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/active_merchant/statuses/2161d68d517cd10f48fb50faa65fc9e61cce66fa"}}}}