Plans & License Types
WPLM’s commerce model is built on Plans and License Types — reusable, product-agnostic pricing and entitlements you define once and attach to any WooCommerce product. No special product types are required.
The model
Section titled “The model”- A Plan is a named container (e.g. “Pro App”) with a description and an active flag.
- A Plan holds one or more License Types — the purchasable tiers a customer chooses between (e.g. Monthly, Yearly, Lifetime). Each license type carries its own price and its own licensing rules (seats, validity, generator, billing).
- You assign a plan to a product. On the product page, the customer picks a license type; checkout fulfils it automatically.
Plan: "Pro App" ├── License Type: Monthly — R20 / month, generator #1, 3 seats ├── License Type: Yearly — R100 / year, generator #1, 3 seats └── License Type: Lifetime — R400 one-time, generator #1, 5 seatsCreating a plan
Section titled “Creating a plan”License Manager → Plans → Add New. Give it a name, description, and tick Active. Then add license types with + Add license type.
License type fields
Section titled “License type fields”| Field | Notes |
|---|---|
| Name | Shown to customers (e.g. “Monthly”). |
| Type | recurring, lifetime, or onetime. For lifetime/one-time the billing period is ignored. |
| Price | Amount charged. |
| Every / Period | Billing frequency for recurring types (every N day/week/month/year). |
| Sign-up fee | One-time fee on the first order. |
| Trial days | Free-trial days before the first charge. |
| Length (cycles) | Maximum billing cycles (0 = until cancelled). |
| Generator | Which generator produces the license key. |
| Max seats | Activation limit for the issued license. |
| Benefits | One per line — shown on the product page (e.g. “365 days”, “priority support”). |
| Active | Inactive license types are hidden from the storefront. |
Assigning a plan to a product
Section titled “Assigning a plan to a product”Edit any WooCommerce product → Product data → Licensing tab → Subscription Plan → choose your plan. When a plan is assigned, the simple one-time licensing fields hide automatically (they’re mutually exclusive).
What the customer sees
Section titled “What the customer sees”On the product page, a “Choose a license type” selector lists each active license type with its price and benefits. The headline price shows “From {lowest price}”, and the product is purchasable even without a WooCommerce price set — the license type defines the price.
What happens on purchase
Section titled “What happens on purchase”When the order completes, WPLM fulfils the chosen license type automatically:
- Recurring type → creates a subscription (billing schedule, trial, sign-up fee), stores the customer’s payment token for rebilling, issues the bound license, and ties the license status to the subscription.
- Lifetime / one-time type → issues a perpetual (or fixed-term) license with no recurring billing.
See Billing & lifecycle for what happens after the first payment.