Stripe Dunning Bot

Stripe Dunning Bot

Self-hosted bot that recovers failed Stripe subscription payments via a 3-touch Resend email sequence.

T by ThinkNew Dev · 0 sales

Self-hosted bot that recovers failed Stripe subscription payments.

Catches invoice.payment_failed, runs a configurable 3-touch email sequence via Resend, marks recovered the moment Stripe confirms the retry.

Drops on Fly / Railway / Render in 5 min via the included Dockerfile. Recover 5–15% of MRR otherwise lost to involuntary churn.

One-time purchase. No per-customer fees.

What's included

  • Stripe webhook receiver with signature verification
  • Configurable multi-step email sequence (default 3 reminders)
  • Branded HTML email templates via Resend
  • Auto-recovery detection on payment success
  • Auto-abandon plus optional Stripe subscription cancel
  • Built-in dashboard with basic auth (open cases plus stats)
  • SQLite storage with no external DB to provision
  • Dockerfile included for Fly/Railway/Render deploys
  • Idempotent webhook event handling
  • MIT licensed
#stripe #saas #dunning #churn #billing #nodejs #docker #resend #webhook

Related projects