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: Update Stripe for new doc format.

Niloth Pc0ab89ec522f
diff --git a/zerver/webhooks/stripe/doc.md b/zerver/webhooks/stripe/doc.md
index 4d8a71df00b..c81555ad909 100644
--- a/zerver/webhooks/stripe/doc.md
+++ b/zerver/webhooks/stripe/doc.md
@@ -1,25 +1,26 @@
+# Zulip Stripe integration
+
Get Zulip notifications for Stripe events!
+{start_tabs}
+
1. {!create-channel.md!}
1. {!create-an-incoming-webhook.md!}
-1. {!generate-integration-url.md!}
+1. {!generate-webhook-url-basic.md!}
-1. On your Stripe Dashboard, click on **Developers** on the left
- sidebar. Click on **Webhooks**, and click on **+ Add endpoint**.
+1. On your Stripe Dashboard, select **Developers** on the left
+ sidebar. Select **Webhooks**, and click on **+ Add endpoint**.
-1. Set **URL to be called** to the URL constructed above. Select
- the event types you would like to be notified about, and click
- **Add endpoint**.
+1. Set the **URL to be called** to the URL generated above. Select the
+ [event types](#filtering-incoming-events) you would like to be notified
+ about, and click **Add endpoint**.
-1. [Optional] In Zulip, add a
- [linkification filter](/help/add-a-custom-linkifier) with
- **Pattern** `(?P<id>cus_[0-9a-zA-Z]+)` and **URL template**
- `https://dashboard.stripe.com/customers/{id}`.
-
-Zulip currently supports Stripe events for Charges, Customers, Discounts,
-Sources, Subscriptions, Files, Invoices and Invoice items.
+1. [Add a new linkifier](/help/add-a-custom-linkifier) in your Zulip
+ organization. Set the pattern to `(?P<id>cus_[0-9a-zA-Z]+)` and the URL
+ 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 %}
@@ -29,6 +30,14 @@ Sources, Subscriptions, Files, Invoices and Invoice items.
{% endif %}
+{end_tabs}
+
{!congrats.md!}
![](/static/images/integrations/stripe/001.png)
+
+{!event-filtering-additional-feature.md!}
+
+### Related documentation
+
+{!webhooks-url-specification.md!}