Every subscription product depends on recurring billing. The customer enters their card once at checkout, agrees to a recurring schedule, and from then on the payment processor charges them automatically until they cancel. That "automatic" part is what makes the subscription model viable — manually invoicing thousands of customers each month would collapse the economics immediately.
How recurring billing works
The first charge looks like a normal purchase, but with one extra step: the payment gateway tokenizes the card and stores it (PCI-compliant — the merchant never sees the raw number) along with the customer's consent to charge it on the agreed schedule. After that, the merchant's billing system triggers a charge each cycle:
- The renewal date arrives.
- The billing system calls the payment gateway with the saved token and the agreed amount.
- If the charge succeeds, the order is created automatically and fulfillment proceeds.
- If the charge fails, the dunning flow kicks in — retry the card, notify the customer, attempt a backup method.
What recurring billing systems handle
Modern recurring billing tools (Joy Subscriptions, Recharge, Stripe Billing) do more than just charge cards on a schedule. A complete system handles:
- Plan management. Defining billing frequency, prices, included products, free trials, and grandfathered pricing.
- Prorations. When customers upgrade, downgrade, or change plans mid-cycle, the system calculates the partial credit or charge owed.
- Tax and currency. Applying the right tax rate based on customer location, and supporting multi-currency billing for international customers.
- Failed payment recovery. Smart retries, card updater services, and customer notifications to recover involuntary churn.
- Customer self-service. A portal where subscribers can update card, pause, swap products, or cancel — without going through support.
Recurring billing on Shopify
Shopify added native support for recurring billing in 2021 via the Subscription API and the Shop Payments contracts model. Subscription apps (like Joy) plug into this API rather than running their own separate payment infrastructure — so subscribers see the same Shopify checkout they're used to, and the merchant uses the same payment gateway for one-time and recurring orders. The benefit: one set of customer records, one source of truth for fulfillment, and no parallel system to reconcile.
For a hands-on walkthrough, preview Joy's subscription widget on your store — you can see exactly how the customer signs up and what data flows through Shopify's recurring billing API.