mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
In #23380 we want to change all occurrences of `uri` with `url`. This commit changes the names of two variables `external_uri_scheme` and `main_site_uri`, who are constructed using `settings` constants.
917 B
917 B
Get Zulip notifications for Stripe events!
-
{!create-stream.md!}
-
{!create-bot-construct-url.md!}
-
On your Stripe Dashboard, click on Developers on the left sidebar. Click on Webhooks, and click on + Add endpoint.
-
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.
-
[Optional] In Zulip, add a linkification filter with Pattern
(?P<id>cus_[0-9a-zA-Z]+)and URL templatehttps://dashboard.stripe.com/customers/{id}.
Zulip currently supports Stripe events for Charges, Customers, Discounts, Sources, Subscriptions, Files, Invoices and Invoice items.
{% if 'http:' in external_url_scheme %}
!!! tip ""
Note that Stripe will only accept HTTPS webhooks!
{% endif %}
{!congrats.md!}
