Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Include suggestion for HTTPS hint in Stripe.

Niloth Pcbe2677a2af8
diff --git a/zerver/webhooks/stripe/doc.md b/zerver/webhooks/stripe/doc.md
index c81555ad909..4430be56a8f 100644
--- a/zerver/webhooks/stripe/doc.md
+++ b/zerver/webhooks/stripe/doc.md
@@ -2,6 +2,17 @@
Get Zulip notifications for Stripe events!
+{% if 'http:' in external_url_scheme %}
+
+!!! tip ""
+
+ Stripe will only send webhook payloads over HTTPS, but your Zulip
+ server is configured to only accept HTTP. To use the Stripe
+ webhook with this Zulip server, you will need to use a tunneling
+ service like ngrok or Ultrahook.
+
+{% endif %}
+
{start_tabs}
1. {!create-channel.md!}
@@ -22,14 +33,6 @@ Get Zulip notifications for Stripe events!
template to `https://dashboard.stripe.com/customers/{id}`. This step
creates links to Stripe customers in Zulip messages and topics.
-{% if 'http:' in external_url_scheme %}
-
-!!! tip ""
-
- Note that Stripe will only accept HTTPS webhooks!
-
-{% endif %}
-
{end_tabs}
{!congrats.md!}