Recurring billing backend with tests by Brian KimRecurring billing backend with tests by Brian Kim
Recurring billing backend with testsBrian Kim
Cover image for Recurring billing backend with tests
Subscription billing that doesn't double-charge when a webhook arrives twice or a renewal job runs again.
I built this on NestJS. Cron jobs schedule the invoices, BullMQ workers process them, and retries and duplicate prevention live in their own layer. I also built the test harness for it: a MongoDB replica set, Redis and a mocked gateway, with cases for missing card, failed payment, post-processing failure, duplicate invoices and retry billing.
The gateway was NICE Pay, a Korean one that works much like Stripe. I haven't shipped Stripe in production yet.
Starting at$1,500
Duration2 weeks
Tags
Node.js
Service provided by
Brian Kim Seoul, South Korea
Recurring billing backend with testsBrian Kim
Starting at$1,500
Duration2 weeks
Tags
Node.js
Cover image for Recurring billing backend with tests
Subscription billing that doesn't double-charge when a webhook arrives twice or a renewal job runs again.
I built this on NestJS. Cron jobs schedule the invoices, BullMQ workers process them, and retries and duplicate prevention live in their own layer. I also built the test harness for it: a MongoDB replica set, Redis and a mocked gateway, with cases for missing card, failed payment, post-processing failure, duplicate invoices and retry billing.
The gateway was NICE Pay, a Korean one that works much like Stripe. I haven't shipped Stripe in production yet.
$1,500