Post Stripe payments to Slack
Every paid checkout posts the amount and the customer's email to your Slack channel.
Stripe payments to SlackTemplate
StartTriggerWhen Stripe sends a webhook
Step 1Filter
Step 2Code
Step 3Post to Slack
Trigger
When Stripe sends a webhook
Step 1
Filter
Step 2
Code
Step 3
Post to Slack
The steps
Trigger
When Stripe sends a webhook
Sent by Stripe: add the URL in Stripe under Developers → Webhooks for checkout.session.completed, then paste its signing secret (whsec_…).
Step 1
Filter
Only continues once the payment is in: a bank debit's checkout completes before it's paid.
Step 2
Code
Writes Stripe's amount in plain words: 4900 cents as 49.00 USD, 4900 yen as 4900 JPY. Nothing to set up.
Step 3
Post to Slack
Posts the payment to Slack. Add your Slack incoming webhook.
What you need
- A Stripe account where you can add a webhook endpoint.
- A Slack workspace where you can add an incoming webhook.
- A Foliot account (free).
Questions
- Can someone fake a payment message?
- No. With Sent by Stripe and its signing secret, Foliot refuses any request Stripe didn't sign.
- What about payments that take days, like bank debits?
- Their checkout completes unpaid, so the Filter stops that run. Add the checkout.session.async_payment_succeeded event in Stripe to post them once paid.