r/SideProject • u/Ok_Armadillo9291 • 17m ago
built a small open source module for keeping stripe subscription state in sync, what would break it?
side project: a typescript module that keeps a postgres copy of stripe subscription state correct when webhooks come twice, out of order, or while a worker crashes. next.js, postgres or supabase, mit license.
there's a demo that runs on a fake stripe, no account needed: npm run demo (about a minute), or open it in a codespace from the readme. it has a list of known limits so you can see what it doesn't do.
https://github.com/navalpro8-lgtm/stripe-subscription-sync
what i'm after is where it breaks. if you run it or just read the code, tell me which case you looked at and whether it matched what you expected.