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

Different meanings of こわい

Placement of More Information/Help Icon button for Radio Buttons

What is the opposite of "eschatology"?

Processor speed limited at 0.4 Ghz

Is this draw by repetition?

What is the fastest integer factorization to break RSA?

Am I breaking OOP practice with this architecture?

What do you call someone who asks many questions?

Does the Idaho Potato Commission associate potato skins with healthy eating?

How can I prove that a state of equilibrium is unstable?

What is this scratchy sound on the acoustic guitar called?

How do I exit BASH while loop using modulus operator?

How dangerous is XSS

Does int main() need a declaration on C++?

Why was the shrink from 8″ made only to 5.25″ and not smaller (4″ or less)

how do we prove that a sum of two periods is still a period?

How could sorcerers who are able to produce/manipulate almost all forms of energy communicate over large distances?

How does a dynamic QR code work?

Implication of namely

Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

How do conventional missiles fly?

Can compressed videos be decoded back to their uncompresed original format?

Do creatures with a speed 0ft., fly 30ft. (hover) ever touch the ground?



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













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














bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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














bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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








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





bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • 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

Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»