{"action":"created","comment":{"url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/comments/72905452","id":72905452,"diff_hunk":"@@ -13,10 +17,20 @@\n  *   label = \"Braintree (Hosted Fields)\",\n  *   display_label = \"Braintree\",\n  *   payment_method_types = {\"credit_card\", \"paypal\"},\n+ *   forms = {\n+ *     \"add-payment-method\" = \"Drupal\\commerce_braintree\\PluginForm\\BraintreePaymentMethodAddForm\"","path":"src/Plugin/Commerce/PaymentGateway/Braintree.php","position":18,"original_position":18,"commit_id":"f9585536f632297f28a7980e1d3a18127a536b46","original_commit_id":"f9585536f632297f28a7980e1d3a18127a536b46","user":{"login":"bojanz","id":330162,"avatar_url":"https://avatars.githubusercontent.com/u/330162?v=3","gravatar_id":"","url":"https://api.github.com/users/bojanz","html_url":"https://github.com/bojanz","followers_url":"https://api.github.com/users/bojanz/followers","following_url":"https://api.github.com/users/bojanz/following{/other_user}","gists_url":"https://api.github.com/users/bojanz/gists{/gist_id}","starred_url":"https://api.github.com/users/bojanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojanz/subscriptions","organizations_url":"https://api.github.com/users/bojanz/orgs","repos_url":"https://api.github.com/users/bojanz/repos","events_url":"https://api.github.com/users/bojanz/events{/privacy}","received_events_url":"https://api.github.com/users/bojanz/received_events","type":"User","site_admin":false},"body":"We should do Drupal\\commerce_braintree\\PluginForm\\HostedFields\\PaymentMethodAddForm. The logic being that we group forms by plugin class. Which reminds me, I didn't push the rename from Braintree.php to HostedFields.php (which makes sense in case we need to implement additional APIs in the future, which commonly happens)","created_at":"2016-07-31T14:50:23Z","updated_at":"2016-07-31T14:50:23Z","html_url":"https://github.com/bojanz/commerce_braintree/pull/1#discussion_r72905452","pull_request_url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/comments/72905452"},"html":{"href":"https://github.com/bojanz/commerce_braintree/pull/1#discussion_r72905452"},"pull_request":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1","id":79293610,"html_url":"https://github.com/bojanz/commerce_braintree/pull/1","diff_url":"https://github.com/bojanz/commerce_braintree/pull/1.diff","patch_url":"https://github.com/bojanz/commerce_braintree/pull/1.patch","issue_url":"https://api.github.com/repos/bojanz/commerce_braintree/issues/1","number":1,"state":"open","locked":false,"title":"WIP: Vault functionality, etc.","user":{"login":"bradjones1","id":981966,"avatar_url":"https://avatars.githubusercontent.com/u/981966?v=3","gravatar_id":"","url":"https://api.github.com/users/bradjones1","html_url":"https://github.com/bradjones1","followers_url":"https://api.github.com/users/bradjones1/followers","following_url":"https://api.github.com/users/bradjones1/following{/other_user}","gists_url":"https://api.github.com/users/bradjones1/gists{/gist_id}","starred_url":"https://api.github.com/users/bradjones1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradjones1/subscriptions","organizations_url":"https://api.github.com/users/bradjones1/orgs","repos_url":"https://api.github.com/users/bradjones1/repos","events_url":"https://api.github.com/users/bradjones1/events{/privacy}","received_events_url":"https://api.github.com/users/bradjones1/received_events","type":"User","site_admin":false},"body":"Work in progress, hoping this aligns with your general direction and am open to feedback. Thanks!","created_at":"2016-07-29T01:17:04Z","updated_at":"2016-07-31T14:50:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f76e44ea300ce721086329f8159a067b1308bcfe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bojanz/commerce_braintree/issues/1/comments","statuses_url":"https://api.github.com/repos/bojanz/commerce_braintree/statuses/f9585536f632297f28a7980e1d3a18127a536b46","head":{"label":"bradjones1:8.x-1.x","ref":"8.x-1.x","sha":"f9585536f632297f28a7980e1d3a18127a536b46","user":{"login":"bradjones1","id":981966,"avatar_url":"https://avatars.githubusercontent.com/u/981966?v=3","gravatar_id":"","url":"https://api.github.com/users/bradjones1","html_url":"https://github.com/bradjones1","followers_url":"https://api.github.com/users/bradjones1/followers","following_url":"https://api.github.com/users/bradjones1/following{/other_user}","gists_url":"https://api.github.com/users/bradjones1/gists{/gist_id}","starred_url":"https://api.github.com/users/bradjones1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradjones1/subscriptions","organizations_url":"https://api.github.com/users/bradjones1/orgs","repos_url":"https://api.github.com/users/bradjones1/repos","events_url":"https://api.github.com/users/bradjones1/events{/privacy}","received_events_url":"https://api.github.com/users/bradjones1/received_events","type":"User","site_admin":false},"repo":{"id":64081716,"name":"commerce_braintree","full_name":"bradjones1/commerce_braintree","owner":{"login":"bradjones1","id":981966,"avatar_url":"https://avatars.githubusercontent.com/u/981966?v=3","gravatar_id":"","url":"https://api.github.com/users/bradjones1","html_url":"https://github.com/bradjones1","followers_url":"https://api.github.com/users/bradjones1/followers","following_url":"https://api.github.com/users/bradjones1/following{/other_user}","gists_url":"https://api.github.com/users/bradjones1/gists{/gist_id}","starred_url":"https://api.github.com/users/bradjones1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradjones1/subscriptions","organizations_url":"https://api.github.com/users/bradjones1/orgs","repos_url":"https://api.github.com/users/bradjones1/repos","events_url":"https://api.github.com/users/bradjones1/events{/privacy}","received_events_url":"https://api.github.com/users/bradjones1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradjones1/commerce_braintree","description":"D8 braintree integration","fork":true,"url":"https://api.github.com/repos/bradjones1/commerce_braintree","forks_url":"https://api.github.com/repos/bradjones1/commerce_braintree/forks","keys_url":"https://api.github.com/repos/bradjones1/commerce_braintree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradjones1/commerce_braintree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradjones1/commerce_braintree/teams","hooks_url":"https://api.github.com/repos/bradjones1/commerce_braintree/hooks","issue_events_url":"https://api.github.com/repos/bradjones1/commerce_braintree/issues/events{/number}","events_url":"https://api.github.com/repos/bradjones1/commerce_braintree/events","assignees_url":"https://api.github.com/repos/bradjones1/commerce_braintree/assignees{/user}","branches_url":"https://api.github.com/repos/bradjones1/commerce_braintree/branches{/branch}","tags_url":"https://api.github.com/repos/bradjones1/commerce_braintree/tags","blobs_url":"https://api.github.com/repos/bradjones1/commerce_braintree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradjones1/commerce_braintree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradjones1/commerce_braintree/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradjones1/commerce_braintree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradjones1/commerce_braintree/statuses/{sha}","languages_url":"https://api.github.com/repos/bradjones1/commerce_braintree/languages","stargazers_url":"https://api.github.com/repos/bradjones1/commerce_braintree/stargazers","contributors_url":"https://api.github.com/repos/bradjones1/commerce_braintree/contributors","subscribers_url":"https://api.github.com/repos/bradjones1/commerce_braintree/subscribers","subscription_url":"https://api.github.com/repos/bradjones1/commerce_braintree/subscription","commits_url":"https://api.github.com/repos/bradjones1/commerce_braintree/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradjones1/commerce_braintree/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradjones1/commerce_braintree/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradjones1/commerce_braintree/issues/comments{/number}","contents_url":"https://api.github.com/repos/bradjones1/commerce_braintree/contents/{+path}","compare_url":"https://api.github.com/repos/bradjones1/commerce_braintree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradjones1/commerce_braintree/merges","archive_url":"https://api.github.com/repos/bradjones1/commerce_braintree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradjones1/commerce_braintree/downloads","issues_url":"https://api.github.com/repos/bradjones1/commerce_braintree/issues{/number}","pulls_url":"https://api.github.com/repos/bradjones1/commerce_braintree/pulls{/number}","milestones_url":"https://api.github.com/repos/bradjones1/commerce_braintree/milestones{/number}","notifications_url":"https://api.github.com/repos/bradjones1/commerce_braintree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradjones1/commerce_braintree/labels{/name}","releases_url":"https://api.github.com/repos/bradjones1/commerce_braintree/releases{/id}","deployments_url":"https://api.github.com/repos/bradjones1/commerce_braintree/deployments","created_at":"2016-07-24T19:20:09Z","updated_at":"2016-07-24T19:20:10Z","pushed_at":"2016-07-31T01:45:07Z","git_url":"git://github.com/bradjones1/commerce_braintree.git","ssh_url":"git@github.com:bradjones1/commerce_braintree.git","clone_url":"https://github.com/bradjones1/commerce_braintree.git","svn_url":"https://github.com/bradjones1/commerce_braintree","homepage":null,"size":15,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"8.x-1.x"}},"base":{"label":"bojanz:8.x-1.x","ref":"8.x-1.x","sha":"2cf245455c7beebf82271de0bee09ccda01232e9","user":{"login":"bojanz","id":330162,"avatar_url":"https://avatars.githubusercontent.com/u/330162?v=3","gravatar_id":"","url":"https://api.github.com/users/bojanz","html_url":"https://github.com/bojanz","followers_url":"https://api.github.com/users/bojanz/followers","following_url":"https://api.github.com/users/bojanz/following{/other_user}","gists_url":"https://api.github.com/users/bojanz/gists{/gist_id}","starred_url":"https://api.github.com/users/bojanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojanz/subscriptions","organizations_url":"https://api.github.com/users/bojanz/orgs","repos_url":"https://api.github.com/users/bojanz/repos","events_url":"https://api.github.com/users/bojanz/events{/privacy}","received_events_url":"https://api.github.com/users/bojanz/received_events","type":"User","site_admin":false},"repo":{"id":58005889,"name":"commerce_braintree","full_name":"bojanz/commerce_braintree","owner":{"login":"bojanz","id":330162,"avatar_url":"https://avatars.githubusercontent.com/u/330162?v=3","gravatar_id":"","url":"https://api.github.com/users/bojanz","html_url":"https://github.com/bojanz","followers_url":"https://api.github.com/users/bojanz/followers","following_url":"https://api.github.com/users/bojanz/following{/other_user}","gists_url":"https://api.github.com/users/bojanz/gists{/gist_id}","starred_url":"https://api.github.com/users/bojanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojanz/subscriptions","organizations_url":"https://api.github.com/users/bojanz/orgs","repos_url":"https://api.github.com/users/bojanz/repos","events_url":"https://api.github.com/users/bojanz/events{/privacy}","received_events_url":"https://api.github.com/users/bojanz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bojanz/commerce_braintree","description":"D8 braintree integration","fork":false,"url":"https://api.github.com/repos/bojanz/commerce_braintree","forks_url":"https://api.github.com/repos/bojanz/commerce_braintree/forks","keys_url":"https://api.github.com/repos/bojanz/commerce_braintree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bojanz/commerce_braintree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bojanz/commerce_braintree/teams","hooks_url":"https://api.github.com/repos/bojanz/commerce_braintree/hooks","issue_events_url":"https://api.github.com/repos/bojanz/commerce_braintree/issues/events{/number}","events_url":"https://api.github.com/repos/bojanz/commerce_braintree/events","assignees_url":"https://api.github.com/repos/bojanz/commerce_braintree/assignees{/user}","branches_url":"https://api.github.com/repos/bojanz/commerce_braintree/branches{/branch}","tags_url":"https://api.github.com/repos/bojanz/commerce_braintree/tags","blobs_url":"https://api.github.com/repos/bojanz/commerce_braintree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bojanz/commerce_braintree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bojanz/commerce_braintree/git/refs{/sha}","trees_url":"https://api.github.com/repos/bojanz/commerce_braintree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bojanz/commerce_braintree/statuses/{sha}","languages_url":"https://api.github.com/repos/bojanz/commerce_braintree/languages","stargazers_url":"https://api.github.com/repos/bojanz/commerce_braintree/stargazers","contributors_url":"https://api.github.com/repos/bojanz/commerce_braintree/contributors","subscribers_url":"https://api.github.com/repos/bojanz/commerce_braintree/subscribers","subscription_url":"https://api.github.com/repos/bojanz/commerce_braintree/subscription","commits_url":"https://api.github.com/repos/bojanz/commerce_braintree/commits{/sha}","git_commits_url":"https://api.github.com/repos/bojanz/commerce_braintree/git/commits{/sha}","comments_url":"https://api.github.com/repos/bojanz/commerce_braintree/comments{/number}","issue_comment_url":"https://api.github.com/repos/bojanz/commerce_braintree/issues/comments{/number}","contents_url":"https://api.github.com/repos/bojanz/commerce_braintree/contents/{+path}","compare_url":"https://api.github.com/repos/bojanz/commerce_braintree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bojanz/commerce_braintree/merges","archive_url":"https://api.github.com/repos/bojanz/commerce_braintree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bojanz/commerce_braintree/downloads","issues_url":"https://api.github.com/repos/bojanz/commerce_braintree/issues{/number}","pulls_url":"https://api.github.com/repos/bojanz/commerce_braintree/pulls{/number}","milestones_url":"https://api.github.com/repos/bojanz/commerce_braintree/milestones{/number}","notifications_url":"https://api.github.com/repos/bojanz/commerce_braintree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bojanz/commerce_braintree/labels{/name}","releases_url":"https://api.github.com/repos/bojanz/commerce_braintree/releases{/id}","deployments_url":"https://api.github.com/repos/bojanz/commerce_braintree/deployments","created_at":"2016-05-03T22:36:18Z","updated_at":"2016-07-27T05:11:25Z","pushed_at":"2016-07-31T01:45:07Z","git_url":"git://github.com/bojanz/commerce_braintree.git","ssh_url":"git@github.com:bojanz/commerce_braintree.git","clone_url":"https://github.com/bojanz/commerce_braintree.git","svn_url":"https://github.com/bojanz/commerce_braintree","homepage":null,"size":5,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"8.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1"},"html":{"href":"https://github.com/bojanz/commerce_braintree/pull/1"},"issue":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/issues/1"},"comments":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bojanz/commerce_braintree/statuses/f9585536f632297f28a7980e1d3a18127a536b46"}}}}
{"actor":{"display_login":"bojanz"}}