Home
Chase Teichmann Request an intro

Billing

Automated billing on Recurly

I automated retailer billing on Recurly, taking about ten minutes per retailer, per cycle, off our VP of Operations’ desk.

10min Per retailer, per billing cycle, automated

Company
ReturnLogic
Role
Built the billing automation and the in-app billing section
Period
2020
Stack
TypeScript · Node.js · Recurly · PostgreSQL · AngularJS · Sequelize · Jest · Docker · ECS · Fargate

“Add to cart” takes you to the store with this project in your cart.

By hand vs. automated

By hand, every weekly and monthly cycle
  1. Run the usage queries
  2. Enter each retailer’s charges into Recurly
  3. Download the invoice
  4. Email it with the usage report
Nearly 7 hours a month at 40 retailers.
Automated
  1. A scheduled job compiles each retailer’s usage report
  2. Posts the charges to Recurly
  3. Emails the invoice
  4. Retailers find every report and invoice in the app
No manual work, however many retailers.

What a bill covered

Each return (RMA) at that retailer’s own price, shipping labels for retailers on our managed shipping integration, and any add-on features they used.

Safe to re-run

Every posted charge was recorded in Postgres, so re-running a failed cycle skipped what had already posted instead of charging a retailer twice.