Emails a customer once when their subscription payment fails, and alerts finance in Slack if it fails a third time.

UsesGmailSlackStripe

Chase failed subscription payments

A declined card is usually an honest mistake. The first time Stripe fails to collect a subscription invoice, the customer gets one friendly email with a link to update their card. Retries stay quiet, so nobody is nagged.

If the third attempt fails, the finance channel in Slack is told, so someone can reach out personally before the subscription lapses.

StripeStripeWhen an invoice payment fails. Save it as failed_invoice.When an invoice payment fails. Save it as failed_invoice.
Decisions & LoopsIf failed_invoice.attempt_count is 1If failed_invoice.attempt_count is 1
Yes
GmailAsk the customer to update their cardSend an email to failed_invoice.customer_email. Save it as reminded. Subject: We couldn't process your paymentHi failed_invoice.customer_name, We tried to collect failed_invoice.amount_due_display for your subscription but your card was declined. You can update your payment details and pay here: failed_invoice.hosted_invoice_url Thank you!Gmail
No
No steps
Decisions & LoopsIf failed_invoice.attempt_count is greater than or equal to 3If failed_invoice.attempt_count is greater than or equal to 3
Yes
SlackTell financeSend message to channel. Save it as escalated.:warning: failed_invoice.customer_name (failed_invoice.customer_email) has failed to pay failed_invoice.amount_due_display three times. Invoice: failed_invoice.hosted_invoice_urlSlack
No
No steps