描述
WooCommerce 许可证管理器允许您轻松销售和管理所有数字许可证密钥。借助批量导入器、自动交付和数据库加密等功能,您的商店现在将比以往更加轻松运行。
Key features
- Display the license keys section inside WooCommerce ‘s My Account Page
- Allow users to activate/deactivate their license keys
- Allow users to download license certificates
- Admins can add a company logo on a license certificate
- Admins can do a one-click migration of the License Key from the Digital License Manager
- Admin can generate licenses for all past orders
- Automatically sell and deliver license keys through WooCommerce.
- Automatically manage the stock for licensed products.
- Activate, deactivate, and check your licenses through the REST API.
- Manually resend license keys.
- Add and import license keys and assign them to WooCommerce products.
- All licenses are encrypted to prevent unauthorized use.
- Administrators can activate or deactivate user accounts.
- Allows users to add duplicate license keys into the database.
- The order status tab provides license key delivery settings.
- Import license keys by file upload.
- Export license keys as PDF or CSV.
- Manage the status of your license keys.
- Create license key generators with custom parameters.
- Assign a generator to one (or more!) WooCommerce product(s), these products then automatically create a license key whenever they are sold.
License Manager for WooCommerce Pro
License Manager for WooCommerce Pro allows you to enhance the capabilities for your eCommerce website with features like:
- Download Expires – Download expired products and generates new license keys.
- Product Download Detail – Enters a change log and product version from the settings.
- Validate Customer Licenses – Validate customer licenses using their ID.
- Ping Request – Create a ping request to check the client-server connection.
- New License Key Upon Subscription renewal – Issue a new license key upon each subscription renewal.
- Extend License Key Upon Subscription – Extend the existing license key with each subscription renewal.
View License Manager for WooCommerce Pro pricing plans.
API(应用程序编程接口)
The plugin also offers additional endpoints for manipulating licenses and generator resources. These routes are authorized via API keys (generated through the plugin settings) and accessed via the WordPress API. An extensive API documentation is also available.
Need help?
If you have any feature requests, need more hooks, or maybe have even found a bug, please let us know in the support forum or e-mail us at support@wpexperts.io. We look forward to hearing from you!
You can also check out the documentation pages, as they contain the most essential information on what the plugin can do for you.
重要
该插件将在文件夹wp-content/uploads/lmfwc-files
中创建两个文件。这些文件 ( defuse.txt
和 secret.txt
) 包含加密密钥,如果它们不存在,这些密钥会自动生成。这些加密密钥用于加密、解密哈希许可证密钥。一旦他们被生成,请备份他们在安全的地方。如果你失去了这两个文件,你的加密许可证密钥在数据库中将永远丢失!
If you would like to contribute to any of these libraries in these languages (Node.js, Python, PHP, Ruby, .NET, C, C#, C++, and Golang), please visit our library page for more details.
Note
Few features like user license display on account page and license certification are fork from Digital License Manager plugin by Darko Gjorgjijoski and we have changed the code according to our need.
屏幕截图
安装
手动安装
- 将插件文件上传到
/wp-content/plugins/license-manager-for-woocommerce
目录,或直接通过WordPress插件页面安装插件。 - 通过WordPress中的插件页激活插件。
- 使用序列号管理器 设置页面配置插件。
通过WordPress安装
- 打开 WordPress 仪表板并导航到插件页面。
- 点击新增
- 在搜索栏中,键入“ License Manager for WooCommerce”
- 选择此插件,然后单击立即安装
重要
该插件将在文件夹wp-content/uploads/lmfwc-files
中创建两个文件。这些文件 ( defuse.txt
和 secret.txt
) 包含加密密钥,如果它们不存在,这些密钥会自动生成。这些加密密钥用于加密、解密哈希许可证密钥。一旦他们被生成,请备份他们在安全的地方。如果你失去了这两个文件,你的加密许可证密钥在数据库中将永远丢失!
常见问题
-
有文档吗?
-
是的,有!在插件主页上可以找到详细的描述插件特性和功能的广泛文档。
-
这份API文档您觉得怎么样?
-
Again, yes! Here you can find the API Documentation detailing all the new endpoint requests and responses. Have fun!
-
Does the plugin work with variable products?
-
Yes, the plugin can assign licenses or generators to individual product variations.
-
Can I sell my own license keys with this plugin?
-
Yes, the plugin allows you to import an existing list of license keys via the file upload (CSV or TXT).
-
Can I use this plugin to provide a licensing system for my own software?
-
Of course! The plugin comes with REST API routes which allow you to activate, deactivate, and validate license keys.
-
Does this License Management plugin work with subscription products?
-
Yes, our license manager plugin supports subscription products and is compatible with the WooCommerce Subscriptions plugin.== Screenshots ==
评价
贡献者及开发者
更新日志
3.0.10 – 2025-01-27
- Improved – Change menus position under WooCommerce Products
- Improved – Enhanced plugin security
- Improved – Performance improvements and bug fixes
3.0.9 – 2024-11-12
- Improved – Minor bug fixes and improvements
3.0.9 – 2024-11-12
- Improved – Minor bug fixes and improvements
3.0.8 – 2024-07-22
- Improved – Performance improvements and bug fixes
- Improved – Enhanced stability and reliability
3.0.7 – 2024-05-16
- Improved – License page error handling if no license found.
- Improved – API filter parameters for ammending data.
3.0.6 – 2024-03-12
- Improved – Scripts would load on license manager specific pages only.
3.0.5 – 2023-12-05
- Fixed – Settings not updating after update.
- Fixed – Php warning in some cases.
3.0.4 – 2023-11-24
- Fixed – License key was not appearing on My Account page.
- Fixed – Php notices in some cases.
- Fixed – Code optimization.
- Fixed – License keys not receiving when order is processing.
- Fixed – PDF not downloading until the order is not completed.
3.0.3 – 2023-11-18
- Fixed – Php warnings appears in some cases.
3.0.2 – 2023-11-15
- Fixed – License not activating via API
3.0.1 – 2023-11-15
- Fixed – Through Php errors in some cases
3.0 – 2023-11-14
- Added – License Activations
- Added – License and Generator delete endpoints
- Added – License PDF Certificates
- Added – Migration and Past Order License Generator tools
- Added – License Expiration Format
- Added – Single License Page in My account
- Fixed – UserId variable in lmfwc_add_license function
- Fixed – OrderBy query Vulnerability
2.2.11 – 2023-09-13
- Fix – OrderBy Query Vulnerability
2.2.10 – 2023-08-01
- Fix – The reported vulnerability has been resolved by updating the Feedback SDK to the latest version.
2.2.9 – 2023-06-28
- Tested up to WooCommerce v7.8.0 and WordPress v6.2.2
2.2.8 – 2022-08-23
- Update – Upgrade Menu Added
2.2.7 – 2022-04-26
- Update – Changed main menu structure.
- Update – Moved License Keys inside WooCommerce menu
- Update – Moved Generators inside WooCommerce menu
- Update – Moved Settings inside WooCommerce-> Settings -> License Manager
2.2.5 – 2021-10-21
- Update – Freemius Integrated
- Update – PHP 7.0 compatibility
2.2.4 – 2021-07-26
- Update – WordPress 5.8 compatibility
- Update – WooCommerce 5.5 compatibility
2.2.3 – 2021-06-08
- Update – WordPress 5.7 compatibility
- Update – WooCommerce 5.4 compatibility
2.2.2 – 2021-02-19
- Update – WordPress 5.6 compatibility
- Update – WooCommerce 5.0 compatibility
- Fix – The “Licenses” page no longer causes a blank page or PHP memory_limit error when a large amount of orders and licenses is present in the database.
2.2.1 – 2020-10-03
- Update – WordPress 5.5 compatibility
- Update – WooCommerce 4.5 compatibility
- Fix – License user ID is no longer being overwritten with the user ID of the currently logged in administrator when manually completing an order in the backend.
- Fix – The plugin no longer throws a PHP Error when visiting “My Account” if there are licenses assigned to deleted WooCommerce products.
- Fix –
register_rest_route()
no longer throws a PHP notice. - Fix – The plugin now prevents license activation/deactivation if the license key has expired.
2.2.0 – 2020-04-10
- Add – Functions for license operations:
lmfwc_add_license()
,lmfwc_get_license()
,lmfwc_update_license()
,lmfwc_delete_license()
,lmfwc_activate_license()
, andlmfwc_deactivate_license()
- Add – Maximum activation count (
times_activated_max
) now allows for unlimited activations if the value is left empty (null
) - Add – It is now possible to select on which order status changes licenses will be generated (“Completed”, “Processing”, etc.)
- Add – Customers can now activate and deactivate their license keys inside “My Account” if the setting is enabled.
- Add – The “allow duplicate license keys” setting has been added.
- Add – STOPPED AT MERGE PULL REQUEST #740
- Add – A “User ID” field has been added on the license key level. Add/Import forms and REST route have been updated to allow for this new parameter.
- Add – User ID automatically gets assigned to a license key when a customer purchases said license key.
- Add – Automatic stock management. License key stock will now automatically be adjusted when adding, deleting, and selling license keys. Can be turned off via the settings.
- Add – The License table columns can now be expanded via the following filters:
lmfwc_table_licenses_column_name
,lmfwc_table_licenses_column_value
, andlmfwc_table_licenses_column_sortable
- Add – The CSV export can now be customized via the settings.
- Add – The CSV export can also be customized with the following filter:
lmfwc_export_license_csv
. - Add – Permissions to REST API routes. Currently, all REST API routes require the
manage_options
permission for both objects (licenses and generators). Can be customized with the following filter:lmfwc_rest_check_permissions
- Fix – the
lmfwc_rest_api_validation
filter has been fixed. - Fix – The plugin will no longer throw PHP errors or notices on the “Licenses” page inside “My Account” when a product is missing.
- Fix – Fix the Show/Hide/Copy buttons for variable products and other scenarios.
- Fix – On the “Licenses” page, the order filter dropdown now displays the order sorted by the order ID, in a descending manner.
- Fix – When selling existing license keys, the “Expires at” field will be preserved after purchase.
- Fix – Product data is now being properly saved for variable products.
- Fix – The text domain is now properly set to
license-manager-for-woocommerce
. Thanks to @sebastienserre for pointing this out and fixing it! - Tweak – Removed the legacy V1 API routes.
- Tweak – Updated the database tables structure.
- Tweak – Searchable dropdown fields (select2) added to the license page filters.
- Tweak – The admin notices class has been reworked and now supports multiple notices.
- Tweak – Refactored the abstract resource repository.
2.1.2 – 2019-12-09
- 添加 – 插件现在在激活时将检查 PHP 版本。如果版本已打开/低于 5.3.29,则插件不会激活。
- 添加 –
lmfwc_event_post_order_license_keys
已添加事件操作。您可以连接add_action()
该函数。 - 修复 – 从类常量中删除”公共”属性。
- 修复 – 列视图选项现在适用于许可证和生成器页。
- 修复 – 时间戳现已正确转换,并显示在许可证页面上。
2.1.1 – 2019-11-19
- 修复 – 添加没有”有效期至”的生成器不再显示”-0001-11-30″日期值。您需要编辑现有许可证密钥、删除该值并保存它们以删除无效日期。
- 修复 – 如果没有生成器存在,插件将抛出PHP通知时,去”生成器”菜单页面内的”生成”页面。
- 调整 – 现在可以创建 API 密钥,而无需安装 WooCommerce。
- 调整 – 删除了冗余插件异常类。
2.1.0 – 2019-11-13
- Update – WordPress 5.3 compatibility
- Update – WooCommerce 3.8 compatibility
- 添加 – 引入了许可证密钥元表,以及添加/更新/获取/删除功能。
- 添加 – 插件现在在添加或编辑许可证密钥之前检查重复项(这也适用于 API)。
- 添加 – 生成器现在可以自由生成许可证密钥,并将其直接添加到数据库中。
- 添加 –
lmfwc_rest_api_validation
使用 REST API 时用于其他身份验证或数据验证的筛选器。 - 添加 -“导入”页上复制粘贴许可证密钥的字段。
- 添加 – 许可证密钥页上的”标记为已售”和”标记为已交付”批量操作选项。
- 在”我的帐户”页面下为客户添加新的”我的许可证密钥”部分。
- 添加 – 添加或编辑许可证密钥时,可以直接编辑”过期”字段。API 同样适用。
- 调整 – 代码重新格式化、重构和清理。
- 修复 – 设置页面上的 Typo(
v2/licenses/activate/{license-key}
)路由现在正确显示为 GET 路由。 - 修复 –
activate
和deactivate
许可证密钥操作现在处理许可证密钥概述。 - 修复 – 添加或编辑许可证密钥时,”产品”字段现在也搜索产品变体。
- 修复 – 现在可以同时显示多个管理员通知。
- 修复 – 自动加载插件翻译。
2.0.1 – 2019-09-03
- 添加 – v2/停用/{license_key} 路由以进行许可证密钥停用。
- 添加 – “清除”功能以订购和产品选择 2 个下拉菜单。
- 修复 – 许可证密钥状态下拉顺序(”激活”是现在第一个)。
- 修复 – 删除许可证密钥时 PHP 致命错误。
- 修复 – 执行某些操作(许可证密钥导入、生成器删除)时的 PHP 通知。
- 修复 – “lmfwc_rest_api_pre_response”挂钩优先级现在正确设置为 1。
2.0.0 – 2019-08-30
- 添加 – 模板覆盖支持。
- 添加 – 添加或编辑许可证密钥时为订单和产品选择 2 个下拉字段。
- 添加 – 搜索许可证密钥的框。只搜索完整的许可证密钥,不会找到它的一部分。
- 添加 – v2 API 路由
- 添加 – 用于启用/禁用特定 API 路由的设置。
- 添加 –
lmfwc_rest_api_pre_response
筛选器,允许在发送 API 响应之前对其进行编辑。 - 调整 – 完成代码修改。
- 调整 – 返工 v1 API 路由(保持兼容性)
- 修复 – 用户现在可以编辑和删除所有许可证密钥,甚至是已出售/交付的许可证密钥。
- 修复 – WordPress 安装大量订单时产品无法打开添加/编辑许可证密钥页。
- 修复 – 许可证密钥表的 CSS 回退字体。
- 修复 – 客户电子邮件/我的帐户中的”有效”文本不再显示该字段是否为空。
1.2.3 – 2019-04-21
- 添加 – 筛选器以更改电子邮件 (
lmfwc_license_keys_table_valid_until
)中的”有效期至”文本 。 - 修复 – 次要 CSS 修复。
- 修复 – 销售许可证密钥时,即使不适用,也会设置”过期”字段。这种情况不再发生。
1.2.2 – 2019-04-19
- 添加 – 德语插件翻译
1.2.1 – 2019-04-18
- 修复 – “添加许可证密钥时出现问题。” 添加许可证密钥时不会再出现错误消息。
1.2.0 – 2019-04-17
- 添加 – 您现在可以使用 REST API 终结点定义可以激活许可证密钥的次数。
- 添加 – 您现在可以定义购买时将交付多少许可证密钥。
- 添加 – 可变产品支持。
- 添加 – 导出许可证密钥功能 (CSV/PDF)
- 添加 – 许可证密钥激活 REST API 终结点。
- 添加 – 许可证密钥验证 REST API 终结点。
- 添加 – 新的 WooCommerce 订单操作以手动发送许可证密钥。
- 添加 – 客户订单电子邮件和客户订单页面的”过期日期”。
- 添加 – 筛选器以替换客户电子邮件中的”您的许可证密钥”文本和”我的帐户”页面 (
lmfwc_license_keys_table_heading
)。 - 添加 – 生成器现在显示它们在其名称旁边分配的产品数量。
- 增强 – 插件中的各种 UI 改进。
- 调整 – “添加/导入”按钮和页面已重命名为”添加许可证”
- 调整 – GET 许可证/[id] REST API 终结点现在也支持许可证密钥作为输入参数。
- 调整 – 对 REST API 响应结构的更改。
- 调整 – 对数据库结构的更改。
- 修复 – 在产品上使用快速编辑时,许可证密钥产品设置将不再丢失。
1.1.4 – 2019-03-30
- 修复 – 如果将订单状态从”完成”更改为其他状态,然后重新更改为”完成”,则许可证密钥将不再再次发送。
1.1.3 – 2019-03-24
- 修复 – 在某些环境中,激活挂钩无法正常工作,并且未生成所需的加密机密。我谈判了一笔交易,确保不再发生这种事。
- 修复 – 当您进入 REST API 设置页面时,您不会再收到 500 错误。再一次,我的错误。
- 修复 – 删除了未使用的 JavaScript 代码。它只是毫无目的地潜伏在那里。
1.1.2 – 2019-03-24
- 功能 – 单击表内的许可证密钥现在将把它们复制到剪贴板中。很酷吧?
- 修复 – CSV 和 TXT 许可证密钥上载现在将再次按预期方式工作。我希望。
- 调整 – 许可证页面上的次要 UI 改进。我让东西看起来很酷。
1.1.1 – 2019-03-23
- 修复 – 在插件更新时删除了加密密钥,导致插件在 1.1.0 更新后变得不可用。我对此真的很抱歉。
1.1.0 – 2019-03-23
- 功能 – 添加了许可证和生成器 API 路由。当前可用的调用包括两种资源的 GET (single/all), POST (create), 和 PUT (update) 。
- 功能 – 新路由的 API 身份验证。目前仅支持通过 SSL 进行的基本身份验证。
- 功能 – 现在可以编辑许可证密钥了。
- 功能 – 在许可证密钥的批量导入上添加了”有效期”字段。
- 调整 – 插件现在支持许可证密钥长度高达 255 个字符。
- 调整 – 主要代码重组。为未来的功能奠定了基础。
- 调整 – 重新编写整个插件以使用过滤器和操作。
- 增强 – 跨插件的次要视觉升级。
1.0.1 – 2019-02-24
- 更新 – 兼容WordPress 5.1。
- 更新 – readme.txt
1.0.0 – 2019-02-19
- 初始发行。