Skip to content

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.

  • 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 seats

License Manager → Plans → Add New. Give it a name, description, and tick Active. Then add license types with + Add license type.

FieldNotes
NameShown to customers (e.g. “Monthly”).
Typerecurring, lifetime, or onetime. For lifetime/one-time the billing period is ignored.
PriceAmount charged.
Every / PeriodBilling frequency for recurring types (every N day/week/month/year).
Sign-up feeOne-time fee on the first order.
Trial daysFree-trial days before the first charge.
Length (cycles)Maximum billing cycles (0 = until cancelled).
GeneratorWhich generator produces the license key.
Max seatsActivation limit for the issued license.
BenefitsOne per line — shown on the product page (e.g. “365 days”, “priority support”).
ActiveInactive license types are hidden from the storefront.

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).

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.

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.