مدیر مجوز ووكامرس

توضیحات

The مدیر مجوز ووكامرس allows you to easily sell and manage all of your digital license keys. With features like the bulk importer, automatic delivery, automatic stock management, and database encryption, your shop will now run easier than ever.

مستندات مربوط به پلاگين & API

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:

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 and 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.

عکس‌های صفحه

  • صفحه مروری شماره سريال.
  • یک شماره سريال واحد اضافه کنید.
  • چندین شماره سريال را بصورت عمده اضافه کنید.
  • گزینه‌های محصول ساده ووكامرس.
  • گزینه‌های محصول متغیر ووكامرس.
  • صفحه نمای کلی مولدها.
  • يك مولد شماره سريال جدید ایجاد کنید.
  • REST API

نصب

نصب دستی

  1. براي نصب اين افزونه كافيست فايلهاي افزونه را در مسير /wp-content/plugins/license-manager-for-woocommerce آپلود کنید (البته بطور معادل ميتوانيد افزونه را مستقیماً از طریق قسمت Plugins در پيشخوان مديريتي وردپرس نيز نصب کنید).
  2. افزونه را از طریق صفحه افزونه‌ها در داشبورد وردپرس فعال نمائيد.
  3. برای پیکربندی افزونه از منوي شماره سريال، گزينه تنظیمات را انتخاب کنید.

نصب از طریق وردپرس

  1. داشبورد وردپرس خود را باز کنید و به صفحه افزونه‌ها مراجعه كنيد.
  2. روی گزينه افزودن کلیک کنید
  3. در نوار جستجو عبارت “مدیريت شماره سريال براي ووكامرس” را تایپ کنید
  4. این افزونه را انتخاب کنید و سپس بر روی گزينه نصب کلیک نماييد

تذكر

این افزونه دو فايل در پوشه wp-content/uploads/lmfwc-files ایجاد می کند. این فايلها (defuse.txt and 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 ==

نقد و بررسی‌ها

21 فوریه 2025
First of all: we have not tested this plugin with themes or plugins for Wordpress. So it may well be that it works well with wordpress-stuff. We wanted to use this plug-in to validate the licenses of our software.The way this plug-in was programmed is really miserable. The programmer obviously didn’t want to over-implement a single line of code and decided for the most trivial of implementations.For example: there is a value for ‘expires_at’ and a value for ‘valid for days’. But both fields exclude each other instead of the plugin is calculating the other value. So on the client side you first have to check which value comes back and then of course you have to implement two checks, one for each possible value.The plugin obviously does not perform any calculations, but only transmits static data from the database. A well-made plugin, where the programmer also thinks about the implementation, would return a calculated value for ‘days_remining’, regardless of which value was entered in Wordpress. We purchased the pro-version but will give this plug-in up now. The example I described is just one trap you fall into when you have to query the API response yourself.
4 فوریه 2025 1 پاسخ
I am using this plugin on a site that sells software, and it works flawlessly.I was experiencing a problem with duplicate keys but thanks to the support I was able to trace the problem (which was not caused by this plugin but by another one) and resolved the issue.
4 دسامبر 2024
This is a great plugin for managing licenses. It works with no problems, and it has many filters to apply my own customizations. Great work!
7 نوامبر 2024
Really great usage capabilities, using the API a lot and it’s perfect for my needs. Great support as well!
20 آگوست 2024
Essential plugin for my website. Whenever I needed support, the team helped me.
خواندن تمامی 143 نقد و بررسی‌

توسعه دهندگان و همکاران

“مدیر مجوز ووكامرس” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“مدیر مجوز ووكامرس” به 18 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “مدیر مجوز ووكامرس” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

3.0.12 – 2025-04-15

  • Tweak – Tested Upto WordPress Latest Version 6.8

3.0.11 – 2025-02-25

  • Fixed – Generators edited options.

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(), and lmfwc_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, and lmfwc_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 را بمحض فعال شدن چك ميكند و اگر ورژن PHP كمتر/مساوي 5.3.29 باشد، پلاگين فعال نخواهد شد.
  • جديد – lmfwc_event_post_order_license_keys گزارش رويداد افزوده شد. شما ميتوانيد بهمراه تابع add_action() از آن استفاده كنيد.
  • اصلاحيه – ويژگيهاي “عمومي” از ثوابت كلاس حذف شدند.
  • اصلاحيه – از اين پس قابليت نمايش ستوني در صفحه شماره سريال و صفحه مولد سريال فعال خواهد شد.
  • اصلاحيه – از اين پس تبديل و نمايش “برچسبهاي زمان”، بدرستي در صفحه شماره سريالها انجام خواهد شد.

2.1.1 – 2019-11-19

  • Fix – Adding a generator without a “expires_at” no longer display the “-0001-11-30” date value. You will need to edit existing license keys, remove the value and save them to get rid of the invalid date.
  • Fix – If no generators are present, the plugin would throw a PHP notice when going to the “Generate” page inside on the “Generators” menu page.
  • Tweak – It is now possible to create API keys without WooCommerce installed.
  • Tweak – Removed the redundant plugin Exception class.

2.1.0 – 2019-11-13

  • Update – WordPress 5.3 compatibility
  • Update – WooCommerce 3.8 compatibility
  • Add – Introduced a License key meta table, along with add/update/get/delete functions.
  • Add – The plugin now checks for duplicates before adding or editing license keys (this also applies to the API).
  • Add – Generators can now freely generate license keys and add them directly to the database.
  • Add – lmfwc_rest_api_validation filter for additional authentication or data validation when using the REST API.
  • Add – Field for copy-pasting license keys on the “Import” page.
  • Add – “Mark as sold” and “Mark as delivered” bulk actions on the license keys page.
  • Add – A new “My license keys” section for customers, under the “My account” page.
  • Add – The “Expires at” field can now directly be edited when adding or editing license keys. This also applies to the API.
  • Tweak – Code reformat, refactor, and cleanup.
  • Fix – Typo on the Settings page (the v2/licenses/activate/{license-key} route now displays correctly as a GET route).
  • Fix – The activate and deactivate license key actions now work on the license keys overview.
  • Fix – When adding or editing license keys, the “Product” field now also searches product variations.
  • Fix – Multiple admin notices can now be displayed at once.
  • Fix – Automatic loading of plugin translations.

2.0.1 – 2019-09-03

  • برای غیرفعال کردن شماره سريال، مسیر – v2 / غیرفعال / {licens_key Add را اضافه کنید.
  • برای سفارش و انتخاب منوهای کشویی، گزینه 2 – “پاک کردن” را اضافه کنید.
  • رفع – دستورالعمل كاهش كيفي وضعيت كليد مجوز (در حال حاضر “فعال”) است.
  • رفع – خطای کشنده PHP هنگام پاک کردن شماره سريالهاي.
  • رفع – اعلامیههای PHP هنگام انجام برخی عملیات خاص (وارد کردن شماره سريال، حذف مولد).
  • رفع – اولویت قلاب \ “lmfwc_rest_api_pre_response ” اکنون به درستی روی 1 تنظیم شده است.

2.0.0 – 2019-08-30

  • افزودن – الگوی پشتیبانی را نادیده بگیرید.
  • افزودن – انتخاب زمینههای کشویی برای سفارشات و محصولات هنگام افزودن یا ویرایش شماره سريالهاي.
  • جعبه جستجو برای شماره سريالهاي. فقط شماره سريالهاي کامل را می پذیرد، بخش هایی از آن را پیدا نمیکند.
  • مسیرهای API – v2 را اضافه کنید
  • افزودن – تنظیم برای فعال یا غیرفعال کردن مسیرهای خاص API.
  • فیلتر – lmfwc_rest_api_pre_response را اضافه کنید، که امکان ویرایش پاسخهای API را قبل از ارسال ارسال می کند.
  • ترفند – کار مجدد کد.
  • Tweak – مسیرهای V1 API اصلاح شده (حفظ سازگاری)
  • رفع – کاربران اکنون می توانند کلیه شماره سريالهاي، حتی آنهایی که فروخته شده / تحویل شده را ویرایش و حذف کنند.
  • رفع – نصب وردپرس با تعداد زیادی سفارش / محصول نمیتواند صفحه شماره سريال افزودن / ویرایش را باز کند.
  • رفع – فونت برگشت 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)
  • افزودنی – کلید فعال کردن شماره سريال انتهایی API REST.
  • افزودن – اعتبار سنجی کلید نهایی امتیاز نهایی REST API.
  • افزودن – ووكامرس جدید سفارش دهید تا شماره سريالهاي را بصورت دستی ارسال کنید.
  • تاریخ – \ “تاریخ انقضاء” را به ایمیلهای سفارش مشتری و صفحه سفارش مشتری اضافه کنید.
  • افزودن – برای جایگزین کردن عبارت انگليسي “Your License Key” (كه در ایمیل مشتری و برگه‌ي “My account” مشاهده ميشود) با عبارت دلخواه خود، به فيلتر (lmfwc_license_keys_table_heading) مراجعه کنید.
  • افزودن – مولدها اکنون تعداد محصولاتی را نشان می دهند که در کنار نام خود به آنها اختصاص داده شده است.
  • Enhancement – بهبودهای مختلف UI در افزونه.
  • Tweak – دکمه و صفحه “افزودن / وارد کردن” به “افزودن مجوز” تغییر نام داده اند
  • Tweak – انتهای مجوز GET / {id} REST API اکنون از شماره سريال به عنوان پارامتر ورودی نیز پشتیبانی می کند.
  • Tweak – تغییر در ساختار پاسخ REST API.
  • Tweak – تغییر در ساختار بانک اطلاعاتی.
  • رفع – تنظیمات محصول شماره سريال دیگر هنگام استفاده سریع از ویرایش محصولات از بین نمی رود.

1.1.4 – 2019-03-30

  • رفع – اگر وضعیت سفارش را از ” کامل” به چیز دیگری تغییر دهید، شماره سريالها دیگر بیش از یک بار ارسال نخواهند شد و سپس دوباره به” کامل “تبدیل می شوید.

1.1.3 – 2019-03-24

  • رفع اشکال – در برخی از محیط‌ها قلاب فعال به درستی کار نمی کند و اسرار رمزنگاری مورد نیاز ایجاد نمی شود. من برای معامله مذاکره کردم که دیگر این اتفاق نیفتد.
  • رفع – هنگام مراجعه به صفحه تنظیمات API REST ، دیگر خطای 500 رخ نمی دهد. یک بار دیگر ، اشتباه من.
  • رفع – کد جاوا اسکریپت استفاده نشده حذف شد. اصلاً فقط در آنجا کمین بود.

1.1.2 – 2019-03-24

  • ویژگی – با کلیک روی شماره سريالها داخل جدول ، اکنون آنها را در کلیپ بورد خود کپی کنید. عالی؟
  • رفع – بارگذاری CSV و TXT از شماره سريالها اکنون دوباره مطابق انتظار می رود کار می کند. امیدوارم.
  • Tweak – پیشرفتهای جزئی UI در صفحه مجوزها. من چیزهایی جالب به نظر میرسم (er)

1.1.1 – 2019-03-23

  • رفع – اسرار رمزنگاری در به روزرسانی افزونه حذف می شود و باعث می شود این افزونه پس از بروزرسانی 1.1.0 غیرقابل استفاده شود. من واقعاً متاسفم برای این یکی

1.1.0 – 2019-03-23

  • ویژگی‌ها – مجوزهای اضافه شده و مسیرهای API ژنراتور. تماسهای موجود در حال حاضر برای هر دو منبع GET (تک / همه) ، POST (ایجاد) و PUT (بروزرسانی) است.
  • ویژگی – تأیید اعتبار API برای مسیرهای جدید. در حال حاضر فقط احراز هویت اساسی بر SSL پشتیبانی می شود.
  • ویژگی – ویرایش شماره سريالها اکنون امکان پذیر است.
  • ویژگی – فیلد “معتبر برای” در واردات عمده ای از شماره سريالها اضافه شده است.
  • Tweak – این افزونه اکنون از اندازههای کلیدی مجوز تا 255 نویسه پشتیبانی می کند.
  • ترفند – تغییر ساختار عمده کد. پایه و اساس ویژگیهای آینده را گذاشت.
  • Tweak – کل پلاگین را برای استفاده از فیلترها و اقدامات ترمیم کرد.
  • پیشرفت – ارتقاء بصری جزئی در سراسر افزونه.

1.0.1 – 2019-02-24

  • بروزرسانی – سازگاری وردپرس 5.1.
  • بروزرسانی – readme.txt

1.0.0 – 2019-02-19

  • انتشار اولیه.