SKUs and prices
A SKU is one thing a buyer can check out, in one configuration: a monthly plan, the same plan yearly, an add-on, a
one-time pack. pro.month and pro.year are two SKUs. Add them in the dashboard under Billing → SKUs. They live
in the _billing_skus collection.
| Field | What it holds |
|---|---|
key |
The SKU: the name your code uses, pro, team.year, extra-seats. |
name, description |
What the dashboard shows. |
kind |
subscription (renews) or order (paid once). |
grants |
What one unit grants: {"instances": 1}, {"seats": 5, "storage_gb": 100}. |
active |
Only active SKUs can be checked out. Turning one off leaves existing buyers alone. |
Prices
The price itself (amount, currency, billing period) is set at the processor. Each processor keeps the ids of its own prices for your SKUs, in a collection of its own, in its own words:
| Processor | Collection | Fields |
|---|---|---|
| Stripe | _stripe_skus |
sku, price_id (price_...), sells |
| Paddle | _paddle_skus |
sku, price_id (pri_...), sells |
| Creem | _creem_skus |
sku, product_id (prod_...), sells |
Billing → SKUs links to each one (Stripe prices, ...). Add a row per price: the SKU it sells and its id.
sells marks the price new checkouts of the SKU use, one per SKU. A price with sells off still sells its SKU for
the subscriptions already on it: their renewals and changes map back to the SKU. So to change what a SKU costs,
add the new price with sells on (the old one turns off by itself) and existing subscribers keep their price.
Billing → SKUs checks every price at its processor when it opens (Check prices again on a row): that it exists, is active, and matches the SKU's kind (a subscription needs a recurring price, an order a one-time one).
Grants and quantity
A SKU's grants count per unit. Buy team ({"seats": 5}) with quantity 3 and the user's seats entitlement
goes up by 15. Entitlements from different SKUs add up: pro plus an extra-seats add-on gives one total.
Gating features with entitlements shows how to read them.
One SKU, several processors
Each processor you install can have a price for a SKU. The checkout processor (Billing → Settings) is the one new checkouts use; the others' prices matter only when you switch. See Payment processors.
Questions and comments
Comments are a GitHub Discussions thread; sign in with GitHub to post.