01Project Overview
Lonestar Subscribe Inc. is an Austin-based company that provides a subscription app for independent food and beverage brands. Its customers, from coffee roasters to hot sauce makers, use Lonestar to run monthly boxes and replenishment subscriptions for their own shoppers. Lonestar itself is also a subscription business, charging brands monthly or annually by plan and order volume.
As the company grew past a thousand paying brands, its homegrown billing logic began to creak. Plan changes were handled manually by the support team, coupons were applied inconsistently, trials sometimes converted at the wrong price, and failed card payments simply cancelled accounts after a single attempt. Each of these problems cost money and frustrated customers.
Accugile was asked to design and build a proper billing foundation on Stripe and a self-service account area for brands. We modelled plans, trials, coupons, upgrades, downgrades and annual switches carefully, built retry and reminder flows for failed payments, and created an account area where customers can manage their subscription without contacting support.
Six months after launch, involuntary churn caused by failed cards had fallen by almost a third, and billing-related support tickets had nearly halved.
02Business Need
Billing problems are often invisible until they show up as churn. Lonestar’s data made the problem clear.
03The Vision
Lonestar’s CEO wanted billing to become something nobody had to think about.
04The Solution
Billing Model
We started with the business rules rather than the code. Working with Lonestar’s finance and product leads, we documented exactly how each plan, discount and change should behave, including edge cases such as upgrading mid-trial or downgrading with an active coupon. Those rules were then implemented on Stripe Billing, with Lonestar’s own service handling entitlements and usage.
| Capability | How it works |
|---|---|
| Plans and pricing | Three tiers with monthly and annual prices, plus usage-based charges for order volume above plan limits. |
| Trials | 14-day trials with card upfront, converting automatically to the chosen plan at the correct price. |
| Coupons and promotions | Percentage and fixed discounts with durations, limits and eligibility rules, applied automatically. |
| Upgrades and downgrades | Immediate upgrades with prorated charges; downgrades scheduled for the end of the billing period. |
| Annual switches | Switch to annual billing with credit for unused monthly time. |
| Sales tax | Calculated automatically by state, with exemption certificates for eligible customers. |
Self-Service Account Area
Failed Payment Recovery
- Smart retries timed around common payday patterns and card network guidance, rather than a single attempt.
- Card account updater to refresh expired cards automatically where banks support it.
- A sequence of friendly reminder emails and in-app banners with a one-click link to update payment details.
- A grace period during which the brand’s own store keeps running, so their shoppers are never affected.
- Alerts to Lonestar’s customer success team for high-value accounts at risk.
05How We Worked
Billing touches finance, support, product and customers, so we brought all of them into the work early.
- Billing rules workshops with finance, product and support to agree how every scenario should behave.
- A shared decision log recording each rule and the reason behind it.
- Two-week sprints with demos using realistic test customers in Stripe’s test mode.
- Support staff trained on the new account area before launch, with a guide to common questions.
- Weekly metric reviews after launch to tune retry timing and reminder content.
06Approach and Phases
Churn analysis, billing rules workshops, review of existing Stripe data and architecture.
Plans, prices, trials, coupons, proration, entitlements, sales tax and webhook handling.
Self-service plan changes, payment methods, invoices, usage, pause and cancellation.
Smart retries, reminder sequences, revenue dashboards and alerts.
Migration of existing subscriptions, parallel checks and staged rollout.
Pricing experiments, retention offers and continuous improvement.
07Technology and Architecture
Stripe is the source of truth for payments and invoices, while Lonestar’s own service owns entitlements: what each brand can use right now. A webhook processor keeps the two in sync, with idempotent handlers, a replay tool and an audit log for every event.
This separation means billing changes never accidentally switch off a brand’s store, and entitlement logic can be tested independently of payments.
08Integrations
- Stripe Billing, Stripe Tax and payment methods including cards and ACH debit.
- Segment for product and billing events, feeding analytics and marketing tools.
- Customer.io for reminder emails and lifecycle messages.
- Zendesk for support, with billing details shown alongside each ticket.
- QuickBooks for revenue and invoice export to finance.
09Security and Compliance
- Card data handled entirely by Stripe, keeping Lonestar out of PCI scope for card storage.
- Webhook signatures verified on every event, with replay protection.
- Role-based access to billing tools for support and finance staff, with audit logs.
- Sales tax calculation and records to support state filing obligations.
10Quality Assurance
Billing errors are expensive and damage trust, so testing was the largest single part of the project.
- More than 300 automated billing scenarios covering trials, upgrades, downgrades, coupons, taxes and failures.
- Time-based testing with Stripe test clocks to simulate months of billing in minutes.
- Side-by-side comparison of old and new invoices for every migrated customer before switching over.
- Staged rollout, starting with new sign-ups, then monthly customers, then annual customers.
11Challenges We Overcame
Rebuilding billing for a live subscription business is like changing the engine of a moving car.
12How Better Billing Creates a Cycle of Value
13Results
Results compare the six months after launch with the six months before.
Retention and Revenue
Operations
| Measure | Before | After |
|---|---|---|
| Billing support tickets per month | About 420 | About 225 |
| Plan changes handled by support | All | 16% |
| Billing errors needing refunds | About 35 a month | Fewer than 5 |
| Month-end revenue reconciliation | 2 days | Under 2 hours |
Customer Experience
14Results Across Customer Groups
Brands of every size benefit from the new billing experience.
Our subscription app needed plans, trials, coupons, upgrades, and proper handling of failed payments. Accugile designed the billing logic carefully with Stripe and built a self-service account area that customers actually use. Involuntary churn from failed cards fell by almost a third after we added their retry and reminder flow.
15Why the Partnership Worked
Lonestar’s leadership highlights the care the team took over details that most customers never see.
16The Partnership Continues
Accugile continues to work with Lonestar on pricing and retention. Current and planned work includes:
- Pricing experiments with new add-ons and usage tiers.
- Predictive churn scoring for customer success outreach.
- Multi-currency billing for brands in Canada and the UK.
- In-app upgrade prompts tied to feature usage.



