{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip/pulls/comments/90860492","pull_request_review_id":11373537,"id":90860492,"diff_hunk":"@@ -1830,6 +1830,47 @@\n       <img class=\"screenshot\" src=\"/static/images/integrations/stash/005.png\" />\n     </div>\n \n+    <div id=\"stripe\" class = \"integration-instructions\">\n+\n+      <p>You can choose to be notified whenever certain events are triggered on Stripe\n+      by adding a webhook to your Stripe account. First, create a stream where the events\n+      are to be sent.</p>\n+\n+      <p>Next, on your {{ settings_html|safe }}, create a Stripe bot.</p>\n+\n+      <p>Add a webhook to your Stripe account by going to \"Your account\"->\"Account settings\"->\"Webhooks\"->\"Add Endpoint\"\n+         and adding the following URL, replacing the bot email address(with the <code>@</code>sign escaped to <code>%40</code>), bot API key, Zulip stream, and Zulip topic with the appropriate\n+         values: </p>\n+      <p><code>{{ external_uri_scheme }}<font color=\"#00A26F\">stripe-bot%40example.com</font>:<font color=\"#00A26F\">api_key</font>@{{ external_api_path_subdomain }}/v1/external/stripe?stream=<font color=\"#00A26F\">sales</font>%26topic=<font color=\"#00A26F\">Stripe</font></code></p>","path":"templates/zerver/integrations.html","position":15,"original_position":15,"commit_id":"cc61f5252d852d069871b65a9ef610b1335bd98b","original_commit_id":"cc61f5252d852d069871b65a9ef610b1335bd98b","user":{"login":"trueskawka","id":3491502,"avatar_url":"https://avatars.githubusercontent.com/u/3491502?v=3","gravatar_id":"","url":"https://api.github.com/users/trueskawka","html_url":"https://github.com/trueskawka","followers_url":"https://api.github.com/users/trueskawka/followers","following_url":"https://api.github.com/users/trueskawka/following{/other_user}","gists_url":"https://api.github.com/users/trueskawka/gists{/gist_id}","starred_url":"https://api.github.com/users/trueskawka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueskawka/subscriptions","organizations_url":"https://api.github.com/users/trueskawka/orgs","repos_url":"https://api.github.com/users/trueskawka/repos","events_url":"https://api.github.com/users/trueskawka/events{/privacy}","received_events_url":"https://api.github.com/users/trueskawka/received_events","type":"User","site_admin":false},"body":"Could you break it into separate lines? It's hard to read. Generally, try to have lines of about 80 characters, e.g. the first paragraph of this document is well done.","created_at":"2016-12-05T13:08:30Z","updated_at":"2016-12-05T13:09:30Z","html_url":"https://github.com/zulip/zulip/pull/2581#discussion_r90860492","pull_request_url":"https://api.github.com/repos/zulip/zulip/pulls/2581","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments/90860492"},"html":{"href":"https://github.com/zulip/zulip/pull/2581#discussion_r90860492"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip/pulls/2581"}}},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/2581","id":96441452,"html_url":"https://github.com/zulip/zulip/pull/2581","diff_url":"https://github.com/zulip/zulip/pull/2581.diff","patch_url":"https://github.com/zulip/zulip/pull/2581.patch","issue_url":"https://api.github.com/repos/zulip/zulip/issues/2581","number":2581,"state":"open","locked":false,"title":"integrations: Add documentation for Stripe","user":{"login":"AZtheAsian","id":19979867,"avatar_url":"https://avatars.githubusercontent.com/u/19979867?v=3","gravatar_id":"","url":"https://api.github.com/users/AZtheAsian","html_url":"https://github.com/AZtheAsian","followers_url":"https://api.github.com/users/AZtheAsian/followers","following_url":"https://api.github.com/users/AZtheAsian/following{/other_user}","gists_url":"https://api.github.com/users/AZtheAsian/gists{/gist_id}","starred_url":"https://api.github.com/users/AZtheAsian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AZtheAsian/subscriptions","organizations_url":"https://api.github.com/users/AZtheAsian/orgs","repos_url":"https://api.github.com/users/AZtheAsian/repos","events_url":"https://api.github.com/users/AZtheAsian/events{/privacy}","received_events_url":"https://api.github.com/users/AZtheAsian/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-04T18:37:21Z","updated_at":"2016-12-05T13:12:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b663794a17bd2f65cc7c7618437e7144e5f3b75","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip/pulls/2581/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip/pulls/2581/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/2581/comments","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/cc61f5252d852d069871b65a9ef610b1335bd98b","head":{"label":"AZtheAsian:master","ref":"master","sha":"cc61f5252d852d069871b65a9ef610b1335bd98b","user":{"login":"AZtheAsian","id":19979867,"avatar_url":"https://avatars.githubusercontent.com/u/19979867?v=3","gravatar_id":"","url":"https://api.github.com/users/AZtheAsian","html_url":"https://github.com/AZtheAsian","followers_url":"https://api.github.com/users/AZtheAsian/followers","following_url":"https://api.github.com/users/AZtheAsian/following{/other_user}","gists_url":"https://api.github.com/users/AZtheAsian/gists{/gist_id}","starred_url":"https://api.github.com/users/AZtheAsian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AZtheAsian/subscriptions","organizations_url":"https://api.github.com/users/AZtheAsian/orgs","repos_url":"https://api.github.com/users/AZtheAsian/repos","events_url":"https://api.github.com/users/AZtheAsian/events{/privacy}","received_events_url":"https://api.github.com/users/AZtheAsian/received_events","type":"User","site_admin":false},"repo":{"id":75027822,"name":"zulip","full_name":"AZtheAsian/zulip","owner":{"login":"AZtheAsian","id":19979867,"avatar_url":"https://avatars.githubusercontent.com/u/19979867?v=3","gravatar_id":"","url":"https://api.github.com/users/AZtheAsian","html_url":"https://github.com/AZtheAsian","followers_url":"https://api.github.com/users/AZtheAsian/followers","following_url":"https://api.github.com/users/AZtheAsian/following{/other_user}","gists_url":"https://api.github.com/users/AZtheAsian/gists{/gist_id}","starred_url":"https://api.github.com/users/AZtheAsian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AZtheAsian/subscriptions","organizations_url":"https://api.github.com/users/AZtheAsian/orgs","repos_url":"https://api.github.com/users/AZtheAsian/repos","events_url":"https://api.github.com/users/AZtheAsian/events{/privacy}","received_events_url":"https://api.github.com/users/AZtheAsian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AZtheAsian/zulip","description":"Zulip server - powerful open source group chat","fork":true,"url":"https://api.github.com/repos/AZtheAsian/zulip","forks_url":"https://api.github.com/repos/AZtheAsian/zulip/forks","keys_url":"https://api.github.com/repos/AZtheAsian/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AZtheAsian/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AZtheAsian/zulip/teams","hooks_url":"https://api.github.com/repos/AZtheAsian/zulip/hooks","issue_events_url":"https://api.github.com/repos/AZtheAsian/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/AZtheAsian/zulip/events","assignees_url":"https://api.github.com/repos/AZtheAsian/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/AZtheAsian/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/AZtheAsian/zulip/tags","blobs_url":"https://api.github.com/repos/AZtheAsian/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AZtheAsian/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AZtheAsian/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/AZtheAsian/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AZtheAsian/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/AZtheAsian/zulip/languages","stargazers_url":"https://api.github.com/repos/AZtheAsian/zulip/stargazers","contributors_url":"https://api.github.com/repos/AZtheAsian/zulip/contributors","subscribers_url":"https://api.github.com/repos/AZtheAsian/zulip/subscribers","subscription_url":"https://api.github.com/repos/AZtheAsian/zulip/subscription","commits_url":"https://api.github.com/repos/AZtheAsian/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/AZtheAsian/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/AZtheAsian/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/AZtheAsian/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/AZtheAsian/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/AZtheAsian/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AZtheAsian/zulip/merges","archive_url":"https://api.github.com/repos/AZtheAsian/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AZtheAsian/zulip/downloads","issues_url":"https://api.github.com/repos/AZtheAsian/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/AZtheAsian/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/AZtheAsian/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/AZtheAsian/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AZtheAsian/zulip/labels{/name}","releases_url":"https://api.github.com/repos/AZtheAsian/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/AZtheAsian/zulip/deployments","created_at":"2016-11-29T00:47:45Z","updated_at":"2016-11-29T00:47:54Z","pushed_at":"2016-12-05T04:03:03Z","git_url":"git://github.com/AZtheAsian/zulip.git","ssh_url":"git@github.com:AZtheAsian/zulip.git","clone_url":"https://github.com/AZtheAsian/zulip.git","svn_url":"https://github.com/AZtheAsian/zulip","homepage":"","size":121674,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"zulip:master","ref":"master","sha":"a8b39e6c0fa25d0708112ff7a740a625d709cfd1","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":43160685,"name":"zulip","full_name":"zulip/zulip","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip","description":"Zulip server - powerful open source group chat","fork":false,"url":"https://api.github.com/repos/zulip/zulip","forks_url":"https://api.github.com/repos/zulip/zulip/forks","keys_url":"https://api.github.com/repos/zulip/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip/teams","hooks_url":"https://api.github.com/repos/zulip/zulip/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip/events","assignees_url":"https://api.github.com/repos/zulip/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip/tags","blobs_url":"https://api.github.com/repos/zulip/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip/subscription","commits_url":"https://api.github.com/repos/zulip/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip/merges","archive_url":"https://api.github.com/repos/zulip/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip/downloads","issues_url":"https://api.github.com/repos/zulip/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip/deployments","created_at":"2015-09-25T16:37:25Z","updated_at":"2016-12-05T09:54:10Z","pushed_at":"2016-12-05T12:35:09Z","git_url":"git://github.com/zulip/zulip.git","ssh_url":"git@github.com:zulip/zulip.git","clone_url":"https://github.com/zulip/zulip.git","svn_url":"https://github.com/zulip/zulip","homepage":"","size":134144,"stargazers_count":4319,"watchers_count":4319,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":885,"mirror_url":null,"open_issues_count":630,"forks":885,"open_issues":630,"watchers":4319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/2581"},"html":{"href":"https://github.com/zulip/zulip/pull/2581"},"issue":{"href":"https://api.github.com/repos/zulip/zulip/issues/2581"},"comments":{"href":"https://api.github.com/repos/zulip/zulip/issues/2581/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip/pulls/2581/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip/pulls/2581/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip/statuses/cc61f5252d852d069871b65a9ef610b1335bd98b"}}}}
{"actor":{"display_login":"trueskawka"}}