Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacoblee93/project-msteams-stripe-failure-alert
A workflow that sends a message to Microsoft Teams on a Stripe charge failure.
https://github.com/jacoblee93/project-msteams-stripe-failure-alert
Last synced: 9 days ago
JSON representation
A workflow that sends a message to Microsoft Teams on a Stripe charge failure.
- Host: GitHub
- URL: https://github.com/jacoblee93/project-msteams-stripe-failure-alert
- Owner: jacoblee93
- Created: 2020-03-16T19:02:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-16T19:25:31.000Z (over 4 years ago)
- Last Synced: 2024-10-04T04:34:27.452Z (about 1 month ago)
- Language: JavaScript
- Size: 558 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microsoft Teams Stripe Charge Failure Alert Bot
## Deploy in Seconds
[](https://deploy.stdlib.com/)
This is a Microsoft Teams bot that will send a message to your channel when a charge fails to process on your Stripe account. It contains the customer's email, the amount of the charge, and a link to the failed payment in the Stripe dashboard for further examination.
![](./readme/images/charge-failure-message.png)
Setup is simple –– you can deploy it without writing any code or configuring any files due to Standard Library's [Identity Token](https://docs.stdlib.com/identity-management-sso-for-apis/what-is-an-identity-token/) support! You will need to add the Standard Library bot to your Microsoft Teams organization, link your Stripe account to Standard Library, and deploy.
## Installing Your Bot Into Teams
`// Flow pending`
## Deploying to Standard Library
Once you've and installed the Standard Library app into your Microsoft Teams organization, click the button below to open this repo in [Autocode](https://autocode.stdlib.com/):
[](https://deploy.stdlib.com/)
You should see a screen like this:
![](./readme/images/deploy-github-modal.png)
Save your project, then open `functions/events/stripe/charge/failed.js` in the sidebar and click the red **2 Accounts Required** button in the lower right corner.
![](./readme/images/active-endpoint.png)
You'll then see a modal appear that will prompt you to link your Stripe account and to select a specific team within your Microsoft Teams organization where you would like to receive alerts.
Once you've linked the required resources, you can press the green **Run Code** button to test your endpoint.
Once you've verified things are working, press the blue **Deploy** button to deploy your project live.
That's it, you're all done! Your bot should be ready to go.
# Thank You!
Please check out [Standard Library](https://stdlib.com/) or follow us on Twitter,
[@StdLibHQ](https://twitter.com/@StdLibHQ).