Licensing overview
Three concepts cover everything Licensing does. Once these are clear, the rest of this section is just mechanics.
Plans
A Plan is a pricing tier: a name (Single Site, Agency, Unlimited), an activation limit (how
many sites one license can run on at once — or unlimited), and a validity period (how many days the
license lasts — or lifetime). You create Plans once, from Licensing → Plans in the org panel. A Plan
you archive stops being offered to new licenses, but every license already issued under it keeps its
original terms forever — editing or archiving a Plan never reaches backwards into licenses that already
exist.
Licenses
A License is what a specific customer holds: a key (lic_…, shown in full exactly once, at the moment
it’s issued), a status (active, suspended, expired, cancelled, refunded, revoked), and the
terms it was issued with (copied from its Plan at issuance time, not a live reference to the Plan). A
license comes from exactly one of three places — issued by hand from the org panel, issued automatically
by your store’s webhook call (this section’s main subject), or issued by Appneck platform staff — recorded
on the license as issued_via either way.
Activations
An Activation is one site running your plugin with a given license key. A license’s activation limit
caps how many activations can exist for it at once — a “Single Site” plan allows exactly one, “Unlimited”
allows any number. Activating a license against a fifth site when the limit is four fails; deactivating one
first frees a slot. This is enforced by the WordPress SDK’s activate() call, not by anything in this
section — see SDK integration for how the plugin side talks to a
license.
Where to go next
- Store integration — wire your store (WooCommerce, EDD, Shopify, a custom checkout, anything) to issue licenses automatically when a sale completes.
- Testing your integration — prove your webhook call works before wiring it into real checkout code.
- Troubleshooting — every error the webhook can return, its cause, and its fix.
- SDK integration — the plugin side:
activate(),validate(),is_valid(), and what happens when Appneck is briefly unreachable.