2018-04-17 04:47:17 +02:00
|
|
|
Get Zulip notifications for Stripe events!
|
2017-06-14 05:03:46 +02:00
|
|
|
|
2018-04-17 04:47:17 +02:00
|
|
|
1. {!create-stream.md!}
|
2017-06-14 05:03:46 +02:00
|
|
|
|
2018-04-17 04:47:17 +02:00
|
|
|
1. {!create-bot-construct-url-indented.md!}
|
2017-06-14 05:03:46 +02:00
|
|
|
|
2018-04-17 04:47:17 +02:00
|
|
|
1. On your Stripe Dashboard, click on **Developers** on the left
|
|
|
|
sidebar. Click on **Webhooks**, and click on **+ Add endpoint**.
|
2017-06-14 05:03:46 +02:00
|
|
|
|
2018-04-17 04:47:17 +02:00
|
|
|
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**.
|
2017-06-14 05:03:46 +02:00
|
|
|
|
2018-04-17 04:47:17 +02:00
|
|
|
Zulip currently supports the following Stripe events:
|
2017-06-14 05:03:46 +02:00
|
|
|
|
|
|
|
* Charge Dispute Closed
|
|
|
|
* Charge Dispute Created
|
|
|
|
* Charge Failed
|
|
|
|
* Charge Succeeded
|
|
|
|
* Customer Created
|
|
|
|
* Customer Deleted
|
|
|
|
* Customer Subscription Created
|
|
|
|
* Customer Subsciption Deleted
|
|
|
|
* Customer Subscription Trial Will End
|
|
|
|
* Invoice Payment Failed
|
|
|
|
* Order Payment Failed
|
|
|
|
* Order Payment Succeeded
|
|
|
|
* Order Updated
|
|
|
|
* Transfer Failed
|
|
|
|
* Transfer Paid
|
2018-04-17 04:47:17 +02:00
|
|
|
|
|
|
|
!!! tip ""
|
|
|
|
To set up different topics for different events, create separate
|
|
|
|
webhooks for those events, customizing the URL stream and topic
|
|
|
|
for each.
|
|
|
|
|
|
|
|
{% if 'http:' in external_uri_scheme %}
|
|
|
|
|
|
|
|
!!! tip ""
|
|
|
|
Note that Stripe will only accept HTTPS webhooks!
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/stripe/001.png)
|