Loading...

This is taking longer than expected.

Back to the guides

Plans and billing

Plans, prices, add-ons, meters, coupons, referrals and one-off charges.

Turn on plans and billing

The keys, flags and webhook that make subscriptions exist, and what appears once they do.

Create and price a plan

Build a plan in the admin panel, price it per country and interval, and follow what a subscriber can do with it.

Sell add-ons

Declare a capability in code, price it in the admin panel, and let people switch it on, buy it or receive it with their plan.

Charge once with Stripe Checkout

Take a single payment for something that is neither a plan nor an add-on, and confirm it before you deliver.

Free trials and coupons

Let a new subscriber try a paid plan before paying, and accept Stripe promotion codes at checkout.

Referrals

Give every user a link, record who arrives through it, and credit a reward when they register and when they pay.

Plan limits and usage

Declare what a plan can switch on and how much of something it allows, set the numbers per plan, and enforce them in your own code.

Currencies, intervals and exchange rates

The billing cycles you offer, the currency each price and each report uses, the daily rate sync behind the revenue chart, and the switches that turn the package off.

Sell usage with meters and packages

Create a meter in the admin panel, spend a unit with one line of code, and let people buy packages in advance or pay for what they used when the cycle closes.

When your account is left without a plan

Why an account whose subscription ended can end up with no plan at all and blocked instead of back on the free plan, and how to get it working again.

When your bank asks you to approve a payment

What the Confirm your payment window is, what happens when you approve or cancel it, and what to do with a payment that is still waiting.