Requirements
| Requirement | Minimum Version |
|---|---|
| WordPress | 5.8 |
| WooCommerce | 5.3.0 |
| PHP | 7.4 |
The plugin has been tested up to WordPress 6.9 and WooCommerce 10.6.
WooCommerce must be installed and active. The plugin declares it with the Requires Plugins header, so on WordPress 6.5 and later you can't activate SLSWC until WooCommerce is active. If WooCommerce is deactivated later, SLSWC stays inactive and shows this notice with an Install WooCommerce or Activate WooCommerce button:
Software License Server for WooCommerce is inactive. WooCommerce must be installed and active for the plugin to run.
The PHP 7.4 minimum is checked on activation; on older PHP versions the plugin deactivates itself.
Installation
- Download the plugin ZIP file from your purchase confirmation email or account page.
- In your WordPress admin, go to
WP Admin > Plugins > Add New > Upload Plugin. - Choose the ZIP file and click Install Now.
- Click Activate Plugin.
Alternatively, extract the ZIP into wp-content/plugins/slswc/ and activate from the Plugins screen.
Setup Wizard
On first activation you are redirected to the setup wizard (wp-admin/admin.php?page=slswc-setup-wizard). It walks you through activating your plugin license, license behavior and support settings, which covers step 1 and the license behavior part of step 3 of the checklist below. You can rerun it at any time from WP Admin > License Server > Settings with the Setup Wizard button. See Setup Wizard.
Initial Setup Checklist
After activation, complete these steps to get your license server operational:
1. Activate Your Plugin License
Navigate to WP Admin > License Server > Settings > Activation and enter the license key from your purchase confirmation email. This enables automatic updates and support.
2. Flush Rewrite Rules
Go to WP Admin > License Server > Settings > Tools and click Flush rewrite rules, or visit WP Admin > Settings > Permalinks and click Save Changes. This registers the REST API endpoints and My Account pages.
3. Configure General Settings
Navigate to WP Admin > License Server > Settings > General and review:
- Expiry reminder โ How far in advance to send license expiration emails.
- Ignore localhost โ Whether local development URLs count toward activation limits.
- Cache API responses โ Enable for better performance on high-traffic stores.
See Settings > General for all options.
4. Create Your First Product
- Go to
WP Admin > Products > Add New. - In the Product data dropdown, select Software (or Variable Software for tiered plans).
- Fill in the License tab with version, author, activation limits, and upload a ZIP file.
- Set a price and publish.
When a customer purchases this product and the order is marked complete, a license key is automatically generated.
5. Set Up Payment Gateways (Optional)
If you want to accept payments through Stripe, PayPal, Payfast, or Polar, configure them at WP Admin > WooCommerce > Settings > Payments. See Payment Gateways for setup instructions.
6. Review Email Notifications
SLSWC adds 19 email templates to WooCommerce. Review them at WP Admin > WooCommerce > Settings > Emails and customize the content as needed. See Email Notifications for the full list.
Creating Your First Software Product
Once your initial setup is complete, follow this step-by-step walkthrough to create a software product, test the purchase flow, and verify that license keys are generated correctly.
Step 1: Create the Product
- Go to
WP Admin > Products > Add New. - Enter a Product name (e.g., "My Awesome Plugin").
- In the Product data dropdown, select Software. (If you want to offer multiple pricing tiers โ e.g., Personal, Business, Developer โ select Variable Software instead.)
- For a one-off (non-subscription) Software product, set a Regular price on the General tab. Subscription products take their price from the Subscription tab (see Step 4), and Variable Software products are priced per variation.
Step 2: Configure the License Tab
- Click the License tab in the product data panel.
- Fill in the following fields:
- Software Version โ The version number of your software (e.g.,
1.0.0). - Compatible up to โ The latest WordPress version your software is compatible with (e.g.,
6.9). - Requires WP Version โ The minimum WordPress version required.
- Software Author โ Your name or company name.
- Last Updated โ The release date,
YYYY-MM-DD. - Allow Staging โ Whether licenses can also be activated on staging sites.
- Activation Limit โ How many domains can use a single license simultaneously. Set to
1for a single-site license, or a higher number for multi-site. Leave empty or set to0for unlimited activations. For Variable Software, set this on each variation instead.
- Software Version โ The version number of your software (e.g.,
- Under Update file, click Choose a file and upload your software ZIP. This is the file customers will download after purchase.
Step 3: Add Software Details (Optional)
Further down the License tab are three rich-text editors:
- Description โ A detailed software description (separate from the main WooCommerce product description).
- Installation โ Installation instructions.
- Changelog โ Version history notes.
They accept basic HTML formatting. This content appears in the plugin details popup and in the Software Description, Installation and Changelog tabs on the product page when they are enabled in Settings > Product.
Step 4: Enable Subscriptions (Optional)
If you want recurring billing:
- Tick Subscription in the product-type row, next to Virtual and Downloadable.
- Open the Subscription tab and set the Subscription price, how often it bills (every 1-6) and the period (day, week, month or year).
- Optionally set a Free trial, a Sign-up fee, sale prices, or a Stop renewing after date.
See Product Types for every field.
Step 5: Publish and Test
- Click Publish to make the product live.
- Visit your store's frontend and add the product to your cart.
- Complete a test purchase using your configured payment gateway's test mode (e.g., Stripe test card
4242 4242 4242 4242). - After the order is marked Complete, navigate to
WP Admin > License Server > Licenses. You should see a new license key generated for the order. - Verify the license details: correct product, customer, expiry date, and activation limit.
Tip: If the license was not generated, check that the order status is "Complete" (not "Processing" or "On-hold"). License keys are generated when the order reaches the Complete status. Also check the Logs for any errors during the order completion process.
Step 6: Test the Customer Experience
- Log in as the test customer (or view their account from the admin).
- Navigate to
My Account > Licensesto verify the license key appears. - If you have client-side integration set up in your software, test the activation flow by entering the license key and activating on a test domain.
You now have a fully operational software product with automated license generation. For ongoing management, see the Dashboard, Licenses, and Subscriptions pages.