How Supertype recovers lost sales with Slack webhooks
A failed Stripe payment is your warmest lead, a customer who chose the plan and tried to pay in the last few minutes. Here is how Supertype recovers those lost sales by sending charge.failed webhooks straight into Slack, with the product, amount, decline reason, and customer contact ready to act on.
Most conversations about cart abandonment stop at the shopping cart. Someone adds a plan to their basket, gets pulled into a meeting, and never comes back, so the growth team queues a reminder email for the next morning. A second kind of abandonment costs more and gets far less attention, and it happens after the customer has already decided to buy. They reach the payment step, enter a card, and the charge fails. In most businesses that failed charge sits in a Stripe dashboard that no one watches in real time. At Supertype we build Viably, and we also sell our own products on Stripe, so we felt this gap from both sides. This is how we started recovering those lost sales by sending Stripe webhooks directly into Slack.
Cart abandonment does not end at the checkout page
When people talk about cart recovery they usually mean the top of the funnel: the browser who filled a basket and wandered off. The failures that hurt most sit one step later, at the card form, where someone who wanted to pay was stopped by something small. It might be a card without the funds to cover it that day, a mistyped security code, an expired card the customer never updated, or a bank that declined an unfamiliar charge out of caution. These customers still want your product. They hit a mechanical problem at the payment step, and a meaningful share of them will complete the purchase if you reach them while the decision is still warm. The signal you need usually arrives somewhere your team never looks.
Why a failed charge is your warmest lead
A marketing qualified lead might be interested someday. A failed charge comes from someone who read your pricing, chose a plan, entered their details, and tried to pay you in the last few minutes. That is a far stronger signal of intent, yet most teams pour effort into the top of the funnel while the bottom leaks. Charges usually fail for mundane reasons that a short, personal message can fix. Tell the customer that the payment for the annual plan was declined and ask whether they would like to try another card. That note works far better an hour after the attempt than a week later inside an automated sequence. To send it, your team needs to hear about the failure quickly and know enough about it to say something useful.
Putting Stripe webhooks directly in Slack
Stripe emits a charge.failed event every time a payment attempt fails, and that event already carries almost everything you need to act. We forward it with Viably's webhook relay into the channel where our customer care and growth people spend their day. Stripe posts the event to a signed URL, Viably verifies the signature so you know the request came from Stripe, and the raw JSON becomes a clean Block Kit card. Stripe webhook destinations send a plain POST and cannot attach an authorization header, so the relay accepts the token as a query parameter and you need no proxy in front of it. The full walkthrough is in the Stripe to Slack guide, and the same relay handles your successful charges and subscription events alongside the failures.
What a recovery alert needs to show
A notification that only says a payment failed is almost useless: the person reading it still has to open Stripe, find the charge, and work out what happened. We built our card so whoever sees it can act without leaving Slack. It leads with the product the customer was trying to buy, resolved from the Stripe metadata you already set, falling back to the charge description and then the statement descriptor. The amount sits next to it, so the reader can tell at a glance whether this is a nine dollar event ticket or a nine hundred dollar annual renewal. The decline reason shows both the machine code, such as card_declined, and the readable message, such as "Your card has insufficient funds." The card also shows the customer's name, email, phone, and location.
Subscription charges often arrive with an empty billing name, because Stripe took the payment against a saved customer instead of a freshly filled form. Viably remembers the contact details from that customer's earlier successful invoice and fills the gaps, so a failed renewal shows the customer's name instead of a cus_ identifier.
Turning the alert into an owned recovery task
Every failed charge can open a follow-up task at the same moment it posts, and for new Stripe endpoints that behaviour is on by default. The task lands as a card underneath the alert. You can assign it to someone in customer care or leave it up for grabs for whoever is free to claim it in Slack. Each decline then has an owner and ends one of two ways: the sale is recovered, or someone sets it aside on purpose. We wrote more about owned follow-ups in building an event-driven workforce, and failed payments are where they pay off fastest.
Keeping the recovery signal clean
Repeat failures can flood a channel like this. A customer with a broken card fails again when Stripe retries the subscription invoice that evening, and again the next morning, and a checkout shopper resubmitting a declined card can produce a burst of near identical events inside a single minute. If each of those posted its own alert and spawned its own task, people would mute the channel within a week. Viably collapses these repeats by customer. After the first charge.failed for a given customer, Viably holds back further failures for that customer for a day, which folds dunning retries and repeat attempts into the alert and task you already have open. For anonymous checkouts with no customer attached, the same suppression works on the payment intent instead. You get one alert per customer per day. Viably also keeps failed charges out of your revenue totals and periodic reports, so those numbers only count money that arrived.
How to set up failed payment recovery in Slack
Standing this up took us a few minutes and no new infrastructure. Inside Slack you run /webhook-relay and create a Stripe Transactions endpoint, which hands you a signed relay URL. In your Stripe dashboard you add that URL as a webhook destination and choose the events you care about, then you paste the signing secret back into Viably so every incoming request is verified. For recovery you want charge.failed alongside the events that make the successful side work.
charge.succeeded required
charge.failed recovery
invoice.paid required
customer.subscription.updated optional
charge.succeeded posts the wins and, together with invoice.paid, seeds the customer contact details that later enrich a failure. charge.failed is the one that converts a lost sale into an alert and a task. All of this runs on the free plan, including verification, retries and logs.
What cart recovery in Slack unlocks
Once failed payments show up where your team already works, a few things change beyond the recovered charges. The person who can help sees the problem within seconds instead of at the end of a weekly reconciliation, and they write to the customer knowing their name and why the card declined. After a few weeks you also start to see patterns: which cards decline most often, whether some regions struggle more than others, and whether a particular plan loses more buyers at the payment step. Those patterns tell you what to fix in the checkout itself.
If you sell on Stripe, failed payments are the quickest place to start. Add Viably to Slack, run /webhook-relay, and point your first charge.failed event at a channel.