How to license a magento2 extension?Uploading new paid version of extension license type?What is the license on Magento CE User GuideLicence for paid extension when creating extensionHow does Magento2 generate the specific ExtensionFactory and ExtensionAttributeInterface?Is Magento Claiming Ownership of All Magento Markplace Extensions?License for my proprietary moduleHow can I do license key with Magento 2 extension?Magento Market place submit extension with licenceIs it possible for human being to re-design checkout in Magento2?Unable to add Pixiemedia_ImageCarousel extension to cms page

High voltage LED indicator 40-1000 VDC without additional power supply

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

dbcc cleantable batch size explanation

Can I make popcorn with any corn?

Do infinite dimensional systems make sense?

Theorems that impeded progress

Today is the Center

RSA: Danger of using p to create q

How much of data wrangling is a data scientist's job?

Perform and show arithmetic with LuaLaTeX

Rock identification in KY

Two films in a tank, only one comes out with a development error – why?

How to source a part of a file

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

Client team has low performances and low technical skills: we always fix their work and now they stop collaborate with us. How to solve?

How do I deal with an unproductive colleague in a small company?

What's that red-plus icon near a text?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Paid for article while in US on F-1 visa?

Why is 150k or 200k jobs considered good when there's 300k+ births a month?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

Why is Minecraft giving an OpenGL error?

How is it possible to have an ability score that is less than 3?



How to license a magento2 extension?


Uploading new paid version of extension license type?What is the license on Magento CE User GuideLicence for paid extension when creating extensionHow does Magento2 generate the specific ExtensionFactory and ExtensionAttributeInterface?Is Magento Claiming Ownership of All Magento Markplace Extensions?License for my proprietary moduleHow can I do license key with Magento 2 extension?Magento Market place submit extension with licenceIs it possible for human being to re-design checkout in Magento2?Unable to add Pixiemedia_ImageCarousel extension to cms page






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am creating a new Magento2 extension, and I want a way to restrict buyers, so that they can install it on one domain.



As I understand, the Magento2 marketplace is not a reference of extensions as it was in Magento 1, but now it stores the extensions and send them to the buyers when someone buys it.



If that is the case, I cannot add license to my extension since I have to provide the extension files to Magento marketplace in advance.



Is my assumption correct?



If yes, how do I license my extension? i.e. how to add license key or put license checks for the extension?










share|improve this question






















  • Not quite into marketplace extension licensing but i guess you get an info when anyone buys your extension and you could write something like "License info" in the Product description. Something like: "Contant <email here> with your ordernumber to get the License".

    – Marcel H.
    Feb 21 '17 at 18:55












  • @MarcelH. yes that can be done, however it adds a manual step, which doesn't look helpful for the customers.

    – Divakar
    Feb 26 '17 at 12:21

















1















I am creating a new Magento2 extension, and I want a way to restrict buyers, so that they can install it on one domain.



As I understand, the Magento2 marketplace is not a reference of extensions as it was in Magento 1, but now it stores the extensions and send them to the buyers when someone buys it.



If that is the case, I cannot add license to my extension since I have to provide the extension files to Magento marketplace in advance.



Is my assumption correct?



If yes, how do I license my extension? i.e. how to add license key or put license checks for the extension?










share|improve this question






















  • Not quite into marketplace extension licensing but i guess you get an info when anyone buys your extension and you could write something like "License info" in the Product description. Something like: "Contant <email here> with your ordernumber to get the License".

    – Marcel H.
    Feb 21 '17 at 18:55












  • @MarcelH. yes that can be done, however it adds a manual step, which doesn't look helpful for the customers.

    – Divakar
    Feb 26 '17 at 12:21













1












1








1


1






I am creating a new Magento2 extension, and I want a way to restrict buyers, so that they can install it on one domain.



As I understand, the Magento2 marketplace is not a reference of extensions as it was in Magento 1, but now it stores the extensions and send them to the buyers when someone buys it.



If that is the case, I cannot add license to my extension since I have to provide the extension files to Magento marketplace in advance.



Is my assumption correct?



If yes, how do I license my extension? i.e. how to add license key or put license checks for the extension?










share|improve this question














I am creating a new Magento2 extension, and I want a way to restrict buyers, so that they can install it on one domain.



As I understand, the Magento2 marketplace is not a reference of extensions as it was in Magento 1, but now it stores the extensions and send them to the buyers when someone buys it.



If that is the case, I cannot add license to my extension since I have to provide the extension files to Magento marketplace in advance.



Is my assumption correct?



If yes, how do I license my extension? i.e. how to add license key or put license checks for the extension?







magento2 licensing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 21 '17 at 17:48









DivakarDivakar

63




63












  • Not quite into marketplace extension licensing but i guess you get an info when anyone buys your extension and you could write something like "License info" in the Product description. Something like: "Contant <email here> with your ordernumber to get the License".

    – Marcel H.
    Feb 21 '17 at 18:55












  • @MarcelH. yes that can be done, however it adds a manual step, which doesn't look helpful for the customers.

    – Divakar
    Feb 26 '17 at 12:21

















  • Not quite into marketplace extension licensing but i guess you get an info when anyone buys your extension and you could write something like "License info" in the Product description. Something like: "Contant <email here> with your ordernumber to get the License".

    – Marcel H.
    Feb 21 '17 at 18:55












  • @MarcelH. yes that can be done, however it adds a manual step, which doesn't look helpful for the customers.

    – Divakar
    Feb 26 '17 at 12:21
















Not quite into marketplace extension licensing but i guess you get an info when anyone buys your extension and you could write something like "License info" in the Product description. Something like: "Contant <email here> with your ordernumber to get the License".

– Marcel H.
Feb 21 '17 at 18:55






Not quite into marketplace extension licensing but i guess you get an info when anyone buys your extension and you could write something like "License info" in the Product description. Something like: "Contant <email here> with your ordernumber to get the License".

– Marcel H.
Feb 21 '17 at 18:55














@MarcelH. yes that can be done, however it adds a manual step, which doesn't look helpful for the customers.

– Divakar
Feb 26 '17 at 12:21





@MarcelH. yes that can be done, however it adds a manual step, which doesn't look helpful for the customers.

– Divakar
Feb 26 '17 at 12:21










1 Answer
1






active

oldest

votes


















0














Regardless if this is allowed by magento rules or not, but technically speaking you need to implement a licence server and make your extension call this server on startup providing a license key, then you server will check if that key is active or not. if not your magento ext should behave accordingly.



this approach is easily hacked by just commenting that part of code.
I found a way to hide licence check by encoding the code doing this check to base64 then doing eval($token); token variable is in reality a php code containing license check. this trick can full beginner devs but not experienced.



in general, it's impossible to do licencing on php (or other interpreted languges) software.






share|improve this answer























  • yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

    – Divakar
    Mar 15 '18 at 12:57











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f161097%2fhow-to-license-a-magento2-extension%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Regardless if this is allowed by magento rules or not, but technically speaking you need to implement a licence server and make your extension call this server on startup providing a license key, then you server will check if that key is active or not. if not your magento ext should behave accordingly.



this approach is easily hacked by just commenting that part of code.
I found a way to hide licence check by encoding the code doing this check to base64 then doing eval($token); token variable is in reality a php code containing license check. this trick can full beginner devs but not experienced.



in general, it's impossible to do licencing on php (or other interpreted languges) software.






share|improve this answer























  • yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

    – Divakar
    Mar 15 '18 at 12:57















0














Regardless if this is allowed by magento rules or not, but technically speaking you need to implement a licence server and make your extension call this server on startup providing a license key, then you server will check if that key is active or not. if not your magento ext should behave accordingly.



this approach is easily hacked by just commenting that part of code.
I found a way to hide licence check by encoding the code doing this check to base64 then doing eval($token); token variable is in reality a php code containing license check. this trick can full beginner devs but not experienced.



in general, it's impossible to do licencing on php (or other interpreted languges) software.






share|improve this answer























  • yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

    – Divakar
    Mar 15 '18 at 12:57













0












0








0







Regardless if this is allowed by magento rules or not, but technically speaking you need to implement a licence server and make your extension call this server on startup providing a license key, then you server will check if that key is active or not. if not your magento ext should behave accordingly.



this approach is easily hacked by just commenting that part of code.
I found a way to hide licence check by encoding the code doing this check to base64 then doing eval($token); token variable is in reality a php code containing license check. this trick can full beginner devs but not experienced.



in general, it's impossible to do licencing on php (or other interpreted languges) software.






share|improve this answer













Regardless if this is allowed by magento rules or not, but technically speaking you need to implement a licence server and make your extension call this server on startup providing a license key, then you server will check if that key is active or not. if not your magento ext should behave accordingly.



this approach is easily hacked by just commenting that part of code.
I found a way to hide licence check by encoding the code doing this check to base64 then doing eval($token); token variable is in reality a php code containing license check. this trick can full beginner devs but not experienced.



in general, it's impossible to do licencing on php (or other interpreted languges) software.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 14 '18 at 12:02









Ahmed KooliAhmed Kooli

1




1












  • yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

    – Divakar
    Mar 15 '18 at 12:57

















  • yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

    – Divakar
    Mar 15 '18 at 12:57
















yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

– Divakar
Mar 15 '18 at 12:57





yeah makes sense, but eval etc are reported as malware by many antivirus/antimalware software. So they easily get attention of people. even without trying to find out, they get to know.

– Divakar
Mar 15 '18 at 12:57

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f161097%2fhow-to-license-a-magento2-extension%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

Magento2 - How to hide price filter only in specific categories?Multiselect price filter attribute in layered navigationhide only some categories from layered navigation in magentoRemove Price Filter on certain categoriescustomize layered price filter?Hide Price for a particular customer groupPrice filter in layered navigation not working correctly with price including tax in magento 2.2.3Magento 2 how to hide attribute at Layered navigation?Magento 2. how to hide price only for specific categoriesMagento 2 How can I hide the price and total from cart and checkout summary?Magento2: Can we add navigation layered filter like price filter for other attribute?