# t3dotgg/stripe-recommendations

How to implement Stripe without going mad

Repository: https://github.com/t3dotgg/stripe-recommendations
Canonical: https://ross.abutalabs.com/products/stripe-recommendations
License: MIT
License Family: permissive
Topics: fullstack, nextjs, node, payments, stripe, typescript
Last push: 2025-02-07T23:38:13+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 5, release rhythm 35, longevity 42
- inputs: {"age_days": 599, "days_push": 572, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6400, forks 303 (observed 2026-08-28T04:09:43.095720+00:00)

## What it is
An opinionated guide by Theo Browne on integrating Stripe payments into SaaS applications without common pitfalls. It recommends a single sync function that pulls all Stripe customer data into a KV store, avoiding webhook race conditions and split-brain state.

## Use cases
- implement stripe subscriptions in a saas app
- avoid stripe webhook race conditions
- sync stripe customer data to my database
- set up stripe checkout with nextjs
- handle stripe payment state without split brain
- best practices for stripe integration in typescript

## When to choose
- you're building a SaaS with subscriptions using TypeScript and a JS backend
- you've been burned by Stripe webhook ordering and partial-update bugs
- you want a simple, battle-tested checkout and sync flow

## When to avoid
- you need one-off payments, marketplaces, or invoicing beyond subscriptions
- you're not using a JavaScript/TypeScript backend
- you want exhaustive Stripe API coverage rather than an opinionated subset

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation, workflow-automation
- domain: web-development, backend, fintech, developer-tools, tutorials
- platform: cross-platform
- tags: stripe, payments, saas, subscriptions, webhooks, nextjs, typescript, guide, best-practices, nodejs, web-server

## Member repositories
- t3dotgg/stripe-recommendations (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:43.095720+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:45:01.105659+00:00, confidence not recorded.
  - readme: https://github.com/t3dotgg/stripe-recommendations (fetched 2026-08-28T04:09:43.095720+00:00, sha da5a7710c320)
- Data as of 2026-08-30T08:39:29.467469+00:00.
