Title: BlueSoftWeb License Keys &amp; Activation for WooCommerce
Author: Keral Patel
Published: <strong>2026 年 6 月 22 日</strong>
Last modified: 2026 年 6 月 22 日

---

搜索插件

![](https://ps.w.org/bluesoftweb-license-keys/assets/banner-772x250.png?rev=3581661)

![](https://ps.w.org/bluesoftweb-license-keys/assets/icon.svg?rev=3581661)

# BlueSoftWeb License Keys & Activation for WooCommerce

 作者：[Keral Patel](https://profiles.wordpress.org/keralpatel/)

[下载](https://downloads.wordpress.org/plugin/bluesoftweb-license-keys.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/bluesoftweb-license-keys/#description)
 * [评价](https://cn.wordpress.org/plugins/bluesoftweb-license-keys/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/bluesoftweb-license-keys/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/bluesoftweb-license-keys/#developers)

 [支持](https://wordpress.org/support/plugin/bluesoftweb-license-keys/)

## 描述

**BlueSoftWeb License Keys & Activation for WooCommerce** turns any WooCommerce 
product into a licensed product. When a customer buys it, a unique license key is
generated automatically, shown on the order and in the order email, and listed under**
My Account  Licenses**. Your software then calls a simple REST API on your own site
to activate, validate or deactivate each key.

This is built for developers who sell plugins, themes, desktop apps or SaaS and 
need a no-fuss key + activation system inside the store they already run.

#### Key features

 * Mark any product as a license product (one checkbox)
 * Auto-generate a unique, readable key on purchase
 * Per-product activation limit (or unlimited)
 * Per-product expiry, in days (or lifetime)
 * Keys shown on the order, in the order email and in My Account  Licenses
 * Manual key creation from the admin for support cases and offline sales
 * Admin list of every key with status, activations and instances
 * Revoke automatically on order cancel/refund

#### The activation API

Every key can be checked from your application over a public REST API served by **
your own site** — no third-party service, and your customer data never leaves your
server.

    ```
    POST /wp-json/bsw-license-keys/v1/activate    license_key, instance, [label]
    GET  /wp-json/bsw-license-keys/v1/validate     license_key, [instance]
    POST /wp-json/bsw-license-keys/v1/deactivate   license_key, instance
    ```

Example check from your app:

    ```
    curl "https://yourstore.com/wp-json/bsw-license-keys/v1/validate?license_key=BSW-AB3K-9F2M-QXR7-T8WC"
    ```

The response is JSON with a `success` flag, the license `status`, activation counts
and the expiry date.

#### Where is the data stored?

All keys and activations are stored in your own WordPress database (custom tables
in your install). The activation API runs on your site. Nothing is sent to BlueSoftWeb
or any external server.

#### Pro version

[BlueSoftWeb License Keys & Activation for WooCommerce Pro](https://www.bluesoftweb.com/plugins/bsw-license-keys)
adds built-in renewals (expiry reminder emails and one-click renew), white-label
customer emails and account portal, a branded license email, and priority support.

#### Trademark notice

WooCommerce is a trademark of Automattic Inc. This plugin is an independent extension
and is not affiliated with, endorsed by, or sponsored by Automattic.

## 屏幕截图

[⌊The list of issued license keys in the admin.⌉⌊The list of issued license keys
in the admin.⌉[

The list of issued license keys in the admin.

[⌊Product setting: sell as a license key, with activation limit and expiry.⌉⌊Product
setting: sell as a license key, with activation limit and expiry.⌉[

Product setting: sell as a license key, with activation limit and expiry.

[⌊The customer's keys under My Account - Licenses.⌉⌊The customer's keys under My
Account - Licenses.⌉[

The customer’s keys under My Account – Licenses.

[⌊Settings page showing your activation API endpoints.⌉⌊Settings page showing your
activation API endpoints.⌉[

Settings page showing your activation API endpoints.

## 安装

 1. Make sure WooCommerce is installed and active.
 2. Upload the plugin to `/wp-content/plugins/`, or install it from **Plugins  Add 
    New**.
 3. Activate the plugin.
 4. Edit a product, open the **General** tab and tick **Sell as license key**. Set 
    an activation limit and expiry if you want.
 5. Go to **License Keys  Settings** to choose when keys are issued and to view your
    API endpoints.

## 常见问题

### Does this require WooCommerce?

Yes for automatic key generation on purchase. You can still create and manage keys
manually without WooCommerce active.

### Where are the license keys stored?

In your own WordPress database, in custom tables created by the plugin. The activation
API is served from your site. No data is sent anywhere else.

### How does my software check a key?

It sends an HTTP request to the activation API on your store, for example `https://
yourstore.com/wp-json/bsw-license-keys/v1/validate`. The plugin replies with JSON
describing whether the key is valid, how many activations are used, and when it 
expires.

### Can one key be used on several installs?

Yes. Set an activation limit per product (or 0 for unlimited). Each activation records
an “instance” identifier so you can see and revoke individual installs.

### Can keys expire?

Yes. Set a validity in days per product, or leave it at 0 for a lifetime key. Expired
keys return an `expired` status from the API.

### Does it support High-Performance Order Storage (HPOS)?

Yes. The plugin declares HPOS compatibility and uses the WooCommerce order API throughout.

## 评价

此插件暂无评价。

## 贡献者及开发者

「BlueSoftWeb License Keys & Activation for WooCommerce」是开源软件。 以下人员对
此插件做出了贡献。

贡献者

 *   [ Keral Patel ](https://profiles.wordpress.org/keralpatel/)

「BlueSoftWeb License Keys & Activation for WooCommerce」插件已被翻译至 2 种本地
化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/bluesoftweb-license-keys/contributors)
为本插件所做的贡献。

[帮助将「BlueSoftWeb License Keys & Activation for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bluesoftweb-license-keys)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/bluesoftweb-license-keys/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/bluesoftweb-license-keys/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/bluesoftweb-license-keys/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/bluesoftweb-license-keys/)。

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/bluesoftweb-license-keys/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/bluesoftweb-license-keys/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/bluesoftweb-license-keys/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/bluesoftweb-license-keys)
 * 标签
 * [activation](https://cn.wordpress.org/plugins/tags/activation/)[license key](https://cn.wordpress.org/plugins/tags/license-key/)
   [license manager](https://cn.wordpress.org/plugins/tags/license-manager/)[serial key](https://cn.wordpress.org/plugins/tags/serial-key/)
   [software license](https://cn.wordpress.org/plugins/tags/software-license/)
 *  [高级视图](https://cn.wordpress.org/plugins/bluesoftweb-license-keys/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/bluesoftweb-license-keys/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bluesoftweb-license-keys/reviews/)

## 贡献者

 *   [ Keral Patel ](https://profiles.wordpress.org/keralpatel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/bluesoftweb-license-keys/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.bluesoftweb.com)