Billing Automation
Build automated billing systems for recurring payments, invoicing, subscription lifecycle, and…
Forged from real client work, proof attached. Pick a piece or take the whole system.
Browse the full catalog → Browse ready-made kits → Build your own set →Sync Stripe MRR into Supabase
A production-grade pipeline that syncs Stripe payment data into Supabase via webhooks and nightly reconciliation, keeping the MRR card live and the payments table consistent. Built around idempotent webhooks (event.id as primary key), currency snapshotting, cohort retention, and a 3 AM reconciliation cron, it makes silent payment-data loss impossible.
Prices include 20% VAT. · Forged on real agency work · one-time, no lock-in
Inside the run · no black box
Can you trust the MRR number on your dashboard? This pipeline makes it provable: idempotent webhook ingestion, frozen exchange-rate snapshots, a daily materialized view, realtime updates, and a nightly reconciliation that flags every missing or phantom row.
stripe-mrr-supabase-sync · core
core active · 6 lines
Inserting a payment row on every Stripe subscription or invoice webhook
Rendering a live monthly-recurring-revenue card on an admin panel
Running a nightly reconciliation diff between Stripe and the database
Building cohort retention matrices by signup month and offset
Snapshotting the exchange rate at payment time for accurate historical MRR
Replaying failed webhooks safely with idempotency protection
Drag time forward. Watch what stays.
Forever
That's what owning means.
ai writing tool: subscription
expired · access lostanalytics suite: subscription
expired · access lostdesign platform: subscription
expired · access lost(nothing left)
Prevent duplicate inserts and revenue inflation with event.id primary-key idempotency
license: perpetualCatch webhook failures within 24 hours via an automated reconciliation alarm
license: perpetualKeep historical MRR accurate even when exchange rates move using stored snapshots
license: perpetualRender the revenue card in real time with Supabase subscriptions instead of polling
license: perpetualsubscriptions expire · deeds don't
Pick a piece up. Watch it work.
Next.js Edge webhook handler with HMAC signature verify and idempotency check
6 parts · one working system · ships instantly by email
From the field · a real case
Engineering and finance teams running Stripe-based subscriptions who need accurate, idempotent revenue data in their database and a live MRR view that never silently drifts.
then this was forged for you.Universal by design: these run in any AI. Delivered in the open Agent Skills + MCP format (native in Claude); ChatGPT, Gemini, Cursor and Copilot adapt the same files their own way.
The core patterns port: event.id as primary key for idempotency, currency snapshotting at payment time, and the nightly Python reconciliation cron work on any Postgres. What assumes Supabase specifically is the migration SQL, the realtime-driven MRR card component, and the subscription-based rendering instead of polling.
Because webhooks fail silently: a missed event means quietly wrong revenue numbers with no error anywhere. This pipeline adds the second leg, a 3 AM reconciliation cron that diffs Stripe charges against your table and alarms within 24 hours, plus event.id idempotency so replaying a failed webhook can never double-insert.
No. It assumes payments already flow through Stripe and only solves what happens after: syncing that data into Supabase, keeping it consistent, and rendering a live MRR card. Building the checkout itself is the stripe-integration package's territory.
By email right after purchase: ready to run, downloaded instantly, no setup wait.
A one-time purchase; no subscription or hidden fees. VAT (20%) is included.
As a digital product, it can’t be refunded once downloaded. That’s why we show exactly what’s inside and who it’s for, right here.