- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unauthorized Module Distribution on Marketplace
Hello,
I want to know if Magento 2 Marketplace has a way to prevent unauthorized distribution of the module that a user buyed.
I've searched but didn't find anything.
Does Marketplace handle Module Licence per installation or that's something that needs to be done on the module side?
Is it even allowed to be done on the module side?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Unauthorized Module Distribution on Marketplace
Hello @VasilisNeris
In Magento 2, licensing for modules sold through the Magento Marketplace is not handled automatically by the Marketplace. If you want to enforce licensing per installation or restrict usage of your module, you need to implement this functionality on the module side.
Implementing Licensing on the Module Side
You can require users to provide a license key for the module to function. This key can be:
Validated against an external server (e.g., an API call to your licensing server).
Associated with a specific domain or installation.
Domain/URL Lock
Use $_SERVER['HTTP_HOST'] or similar server variables to detect the domain.
Ensure the license is valid only for the configured domain.
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9