How to Sell a WordPress Plugin with License Keys (2026)
To sell a WordPress plugin with license keys, keep the free version on WordPress.org and sell the premium features as a separate add-on plugin. On Pocketsflow, the add-on is a product with its zip file and License keys switched on: each sale delivers the zip and a key, and your add-on activates the key for each site with one HTTP call from PHP, with no secret in the code. It costs 2% a sale, plus card processing, with sales tax and VAT handled. The trade-off: Pocketsflow doesn't push updates into the WordPress dashboard, which Freemius and Easy Digital Downloads do.
What WordPress.org allows
WordPress.org's plugin guidelines, last updated March 11, 2026, set the shape of every premium plugin business:
- No trialware (guideline 5). A plugin in the directory can't contain features that are locked until someone pays. WordPress.org recommends putting premium code in add-on plugins hosted somewhere else.
- No license-only services (guideline 6). The free plugin can't call a server whose only job is to check a key while all the features already sit in the plugin.
- Updates come from WordPress.org (guideline 8). The free plugin can't install a premium version of itself or pull updates from your server.
So the free plugin stays free and complete, with a modest upgrade link, and the Pro add-on is sold, delivered and licensed from Pocketsflow. The license check lives in the add-on, never in the WordPress.org plugin.
Pocketsflow vs Freemius vs Easy Digital Downloads
Competitor facts are from their own pricing pages, read November 23, 2026.
| Premium plugin | Pocketsflow | Freemius | EDD Software Licensing |
|---|---|---|---|
| Price | 2% + card processing | 3.8% + 50¢, +2.3% for WordPress, + gateway fees | $599 a year (Professional), plus Stripe or PayPal fees |
| Sales tax and VAT | Handled | Handled | Your job, with an EU VAT tool |
| License keys | Yes | Yes | Yes |
| Updates in the WordPress dashboard | No | Yes | Yes |
| Where the store runs | Pocketsflow | Freemius | Your own WordPress site |
Freemius and Pocketsflow are both merchants of record, so neither leaves you filing VAT. Freemius adds update delivery, usage analytics and a payout minimum of $100. Easy Digital Downloads runs on your own site with your own Stripe or PayPal account, so you keep the data and pay a yearly license, but you are the seller for tax.
What a year of sales costs
The chart compares Pocketsflow with Easy Digital Downloads Professional at its full $599 yearly price plus Stripe's card fee, selling a $79 license to US buyers. Freemius isn't charted because its pricing page doesn't give a number for its gateway fees.
| Point | Pocketsflow | EDD Professional |
|---|---|---|
| 50 sales | $193 | $728.50 |
| 100 sales | $386 | $858 |
| 200 sales | $772 | $1,117 |
| 400 sales | $1,544 | $1,635 |
Source: Pocketsflow pricing (www.pocketsflow.com/pricing), 2% + card processing. Pocketsflow figures include card processing, passed through at cost. easydigitaldownloads.com/pricing (Professional, normally $599 a year), read November 23, 2026; stripe.com/pricing, 2.9% + 30¢ per domestic card. US cards; hosting for the EDD store not included.
At 100 sales a year, Pocketsflow costs $386 and Easy Digital Downloads $858. At 400 sales it is $1,544 against $1,635. Above about 472 sales a year, the flat yearly license costs less, before you count hosting the store and filing the tax yourself.
How to sell the add-on on Pocketsflow
- Create the product. Make a one-time product such as "Pro add-on, 3 sites" and upload the add-on's zip. The free plan takes files up to 10 MB.
- Switch on keys. Open License keys, turn on Generate a license key for each sale, and set the activation limit to the number of sites, such as 1 or 3, or leave it empty for no limit. Sell more site counts as separate products, each with its own price and limit.
- Link to the checkout. Point the upgrade link in your free plugin and on your website at the product's checkout. The buyer gets the zip and the key in the receipt and in My purchases.
Activate and check keys from PHP
Add a License field to the add-on's settings page. When the buyer saves a key, activate it for the site, using the site's domain as the instance ID so each site counts once:
$response = wp_remote_post( 'https://api.pocketsflow.com/licenses/activate', array(
'headers' => array( 'Content-Type' => 'application/json' ),
'body' => wp_json_encode( array(
'productId' => 'YOUR_PRODUCT_ID',
'licenseKey' => $key,
'instanceId' => wp_parse_url( home_url(), PHP_URL_HOST ),
'instanceName' => get_bloginfo( 'name' ),
) ),
) );
$result = json_decode( wp_remote_retrieve_body( $response ), true );
if ( ! empty( $result['valid'] ) ) {
update_option( 'myplugin_license_key', $key );
}Calling activate again on the same domain answers 200 without using a second seat. When the limit is reached, Pocketsflow answers 409 with activation_limit_reached; show the buyer that message and a link to free a site. Then check the key once a day with POST /licenses/validate from WP-Cron and keep the answer in a transient, so a slow request never blocks the admin. A refunded or disputed order stops validating on its own.
Yearly licenses that expire
Most premium plugins sell a yearly license with support and updates. On Pocketsflow, that is a yearly subscription with per-seat pricing: seats are sites, and Issue a license key per subscriber gives each buyer one key whose activation limit follows their seats. If the subscription is canceled or expires, the key stops validating, and it switches back on if they renew. Per-seat pricing is on the Pro plan at $119 a month. On the free plan, sell a lifetime license instead: one payment, one key, no expiry.
Shipping updates
Pocketsflow delivers the file at purchase and the key, not updates inside WordPress. For the Pro add-on, you can host a small version file on your own server, check it from the add-on, and only offer the download to sites whose key validates; or tell buyers to upload each new version themselves. If one-click updates in the dashboard matter more to you than tax handled in 130+ countries, Freemius or Easy Digital Downloads is the better fit. For the full key reference, read how to add license keys to your software, look for a niche in WordPress plugin ideas you can sell, or see Pocketsflow for apps and plugins.