{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/comments/232230268","pull_request_review_id":173381005,"id":232230268,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjIzMDI2OA==","diff_hunk":"@@ -26,20 +26,32 @@\n             {{form.stripe_public_key}}\n         {% endif %}\n \n-        {% if recurring_payment %}\n-            <input type=\"hidden\" id=\"stripe_source_setup\" value=\"1\">\n-        {% endif %}\n \n         <p class=\"legal-copy\">\n-            {% trans %}\n+            {% trans terms_url=url('payment_terms') %}\n                 Payments are not tax deductible. Your payment details will be processed by\n                 <a href=\"https://stripe.com/\" rel=\"noopener\" target=\"_blank\">Stripe</a>.\n-                Mozilla will keep record of your payment in\n-                accordance with its\n-                <a href=\"https://www.mozilla.org/en-US/privacy/websites\" rel=\"noopener\" target=\"_blank\">Privacy Notice</a>,\n-                and does not receive your payment details.\n+                You can read our Payment Terms\n+                <a href=\"{{ terms_url }}\" target=\"_blank\">Payment terms</a>,\n+                for more information.\n             {% endtrans %}\n         </p>\n+\n+        {% if recurring_payment %}\n+            <input type=\"hidden\" id=\"stripe_source_setup\" value=\"1\">\n+            <label class=\"recurring-payment-confirmation\">\n+                {{form.accept_checkbox}}\n+                <div class=\"control-indicator\"></div>\n+                <span class=\"legal-copy\">\n+                    {% trans amount='16' %}\n+                        By clicking this button, I authorize Mozilla to charge\n+                        this payment method $<span id=\"amount\">{{ amount }}</span>","path":"kuma/payments/jinja2/payments/includes/payments-form.html","position":null,"original_position":31,"commit_id":"5ef7a1724b6484a867bd66c1b0d49515b228b785","original_commit_id":"662549e838d6b99c2107e53c478e08a08cc915d9","user":{"login":"joshJarr","id":11092019,"node_id":"MDQ6VXNlcjExMDkyMDE5","avatar_url":"https://avatars1.githubusercontent.com/u/11092019?v=4","gravatar_id":"","url":"https://api.github.com/users/joshJarr","html_url":"https://github.com/joshJarr","followers_url":"https://api.github.com/users/joshJarr/followers","following_url":"https://api.github.com/users/joshJarr/following{/other_user}","gists_url":"https://api.github.com/users/joshJarr/gists{/gist_id}","starred_url":"https://api.github.com/users/joshJarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshJarr/subscriptions","organizations_url":"https://api.github.com/users/joshJarr/orgs","repos_url":"https://api.github.com/users/joshJarr/repos","events_url":"https://api.github.com/users/joshJarr/events{/privacy}","received_events_url":"https://api.github.com/users/joshJarr/received_events","type":"User","site_admin":false},"body":"Good spot! Completely overlooked this, I've fixed this now.","created_at":"2018-11-09T12:00:27Z","updated_at":"2018-11-09T12:00:27Z","html_url":"https://github.com/mozilla/kuma/pull/5082#discussion_r232230268","pull_request_url":"https://api.github.com/repos/mozilla/kuma/pulls/5082","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments/232230268"},"html":{"href":"https://github.com/mozilla/kuma/pull/5082#discussion_r232230268"},"pull_request":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/5082"}},"in_reply_to_id":232108057},"pull_request":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/5082","id":229453342,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NDUzMzQy","html_url":"https://github.com/mozilla/kuma/pull/5082","diff_url":"https://github.com/mozilla/kuma/pull/5082.diff","patch_url":"https://github.com/mozilla/kuma/pull/5082.patch","issue_url":"https://api.github.com/repos/mozilla/kuma/issues/5082","number":5082,"state":"open","locked":false,"title":"bug 1490727: Include confirmation checkbox for recurring payments.","user":{"login":"joshJarr","id":11092019,"node_id":"MDQ6VXNlcjExMDkyMDE5","avatar_url":"https://avatars1.githubusercontent.com/u/11092019?v=4","gravatar_id":"","url":"https://api.github.com/users/joshJarr","html_url":"https://github.com/joshJarr","followers_url":"https://api.github.com/users/joshJarr/followers","following_url":"https://api.github.com/users/joshJarr/following{/other_user}","gists_url":"https://api.github.com/users/joshJarr/gists{/gist_id}","starred_url":"https://api.github.com/users/joshJarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshJarr/subscriptions","organizations_url":"https://api.github.com/users/joshJarr/orgs","repos_url":"https://api.github.com/users/joshJarr/repos","events_url":"https://api.github.com/users/joshJarr/events{/privacy}","received_events_url":"https://api.github.com/users/joshJarr/received_events","type":"User","site_admin":false},"body":"This PR adds a checkbox to confirm recurring payment submission.\r\n\r\n**In this PR**\r\n- https://trello.com/c/dIsVyv2F/44-as-a-user-i-can-agree-to-the-payment-terms-so-that-i-can-confirm-my-recurring-payment\r\n\r\n**Notes for QA**\r\n- [ ] checkbox should be focusable\r\n- [ ] checkbox should be toggle-able\r\n- [ ] form should not submit until checkbox is active\r\n- [ ] checkbox is required\r\n\r\n\r\n**screenshots**\r\n\r\n![screenshot 2018-11-07 at 18 36 06](https://user-images.githubusercontent.com/11092019/48152633-4e49f980-e2bc-11e8-8082-aeb76be48976.png)\r\n![screenshot 2018-11-07 at 18 36 01](https://user-images.githubusercontent.com/11092019/48152634-4e49f980-e2bc-11e8-8ad5-9759951946a1.png)\r\n","created_at":"2018-11-08T17:44:01Z","updated_at":"2018-11-09T12:00:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c07033a52542c965190bd4075662a6fefa6cb219","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kuma/pulls/5082/commits","review_comments_url":"https://api.github.com/repos/mozilla/kuma/pulls/5082/comments","review_comment_url":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kuma/issues/5082/comments","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/5ef7a1724b6484a867bd66c1b0d49515b228b785","head":{"label":"potatolondon:feature/checkbox-accept-conditions","ref":"feature/checkbox-accept-conditions","sha":"5ef7a1724b6484a867bd66c1b0d49515b228b785","user":{"login":"potatolondon","id":779847,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3OTg0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/779847?v=4","gravatar_id":"","url":"https://api.github.com/users/potatolondon","html_url":"https://github.com/potatolondon","followers_url":"https://api.github.com/users/potatolondon/followers","following_url":"https://api.github.com/users/potatolondon/following{/other_user}","gists_url":"https://api.github.com/users/potatolondon/gists{/gist_id}","starred_url":"https://api.github.com/users/potatolondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potatolondon/subscriptions","organizations_url":"https://api.github.com/users/potatolondon/orgs","repos_url":"https://api.github.com/users/potatolondon/repos","events_url":"https://api.github.com/users/potatolondon/events{/privacy}","received_events_url":"https://api.github.com/users/potatolondon/received_events","type":"Organization","site_admin":false},"repo":{"id":147377094,"node_id":"MDEwOlJlcG9zaXRvcnkxNDczNzcwOTQ=","name":"kuma","full_name":"potatolondon/kuma","private":false,"owner":{"login":"potatolondon","id":779847,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3OTg0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/779847?v=4","gravatar_id":"","url":"https://api.github.com/users/potatolondon","html_url":"https://github.com/potatolondon","followers_url":"https://api.github.com/users/potatolondon/followers","following_url":"https://api.github.com/users/potatolondon/following{/other_user}","gists_url":"https://api.github.com/users/potatolondon/gists{/gist_id}","starred_url":"https://api.github.com/users/potatolondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potatolondon/subscriptions","organizations_url":"https://api.github.com/users/potatolondon/orgs","repos_url":"https://api.github.com/users/potatolondon/repos","events_url":"https://api.github.com/users/potatolondon/events{/privacy}","received_events_url":"https://api.github.com/users/potatolondon/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/potatolondon/kuma","description":"The project that powers MDN.","fork":true,"url":"https://api.github.com/repos/potatolondon/kuma","forks_url":"https://api.github.com/repos/potatolondon/kuma/forks","keys_url":"https://api.github.com/repos/potatolondon/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/potatolondon/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/potatolondon/kuma/teams","hooks_url":"https://api.github.com/repos/potatolondon/kuma/hooks","issue_events_url":"https://api.github.com/repos/potatolondon/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/potatolondon/kuma/events","assignees_url":"https://api.github.com/repos/potatolondon/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/potatolondon/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/potatolondon/kuma/tags","blobs_url":"https://api.github.com/repos/potatolondon/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/potatolondon/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/potatolondon/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/potatolondon/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/potatolondon/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/potatolondon/kuma/languages","stargazers_url":"https://api.github.com/repos/potatolondon/kuma/stargazers","contributors_url":"https://api.github.com/repos/potatolondon/kuma/contributors","subscribers_url":"https://api.github.com/repos/potatolondon/kuma/subscribers","subscription_url":"https://api.github.com/repos/potatolondon/kuma/subscription","commits_url":"https://api.github.com/repos/potatolondon/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/potatolondon/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/potatolondon/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/potatolondon/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/potatolondon/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/potatolondon/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/potatolondon/kuma/merges","archive_url":"https://api.github.com/repos/potatolondon/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/potatolondon/kuma/downloads","issues_url":"https://api.github.com/repos/potatolondon/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/potatolondon/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/potatolondon/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/potatolondon/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/potatolondon/kuma/labels{/name}","releases_url":"https://api.github.com/repos/potatolondon/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/potatolondon/kuma/deployments","created_at":"2018-09-04T16:38:30Z","updated_at":"2018-11-09T11:01:05Z","pushed_at":"2018-11-09T11:56:17Z","git_url":"git://github.com/potatolondon/kuma.git","ssh_url":"git@github.com:potatolondon/kuma.git","clone_url":"https://github.com/potatolondon/kuma.git","svn_url":"https://github.com/potatolondon/kuma","homepage":"https://developer.mozilla.org","size":207038,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"6d0203c1529692d4e1ba0697a9a8840202bad2f5","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyNTIw","name":"kuma","full_name":"mozilla/kuma","private":false,"owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozilla/kuma","description":"The project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kuma/deployments","created_at":"2011-02-10T21:48:06Z","updated_at":"2018-11-08T21:32:07Z","pushed_at":"2018-11-09T11:56:18Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":206795,"stargazers_count":1334,"watchers_count":1334,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":633,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":633,"open_issues":11,"watchers":1334,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/5082"},"html":{"href":"https://github.com/mozilla/kuma/pull/5082"},"issue":{"href":"https://api.github.com/repos/mozilla/kuma/issues/5082"},"comments":{"href":"https://api.github.com/repos/mozilla/kuma/issues/5082/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/5082/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/5082/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kuma/statuses/5ef7a1724b6484a867bd66c1b0d49515b228b785"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"joshJarr"}}