License Key Plugin

1 2 3 4 >
Posted: September 01, 2013 at 12:52 PM Quote #104375
I wrote a plugin to automatically create and deliver license keys to customers that purchase my other plugins.  The whole thing is open source and available here.  I also wrote a blog post that details how it works so you can modify the code to fit your own needs.
This post/answer is useful
7
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
StackOverflow - http://stackoverflow.com/users/113988/andymckenna
http://bitshiftweb.com - FirstData and Payeezy payment plugin and contract development services
Posted: September 02, 2013 at 12:38 AM Quote #104405
Is this plugin for only generating license key?
How to verify product key with selling plugin?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 02, 2013 at 9:54 PM Quote #104484
The plugin you sell needs to store this license key and decrypt it.  I'm going to post a separate snippet on how to do that.
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
StackOverflow - http://stackoverflow.com/users/113988/andymckenna
http://bitshiftweb.com - FirstData and Payeezy payment plugin and contract development services
Posted: September 05, 2013 at 6:06 AM Quote #104714
AndyMcKenna wrote:
The plugin you sell needs to store this license key and decrypt it.  I'm going to post a separate snippet on how to do that.


I'm looking forward for your post.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 05, 2013 at 8:02 AM Quote #104725
It would be tonight at the earliest.  The gist of it is that your plugin that you sell stores its own encryption key in the code (the same one you entered in the tab on the Product) and decrypts the license key that the store owner entered.  

That gives you something like "Dnopcommerce.com" or "Unopcommerce.com".  The first letter tells you what kind of license it is (domain or url) and then what the url is.  You grab the site's current url from HttpContext.Request.Url.Host and compare.  If the license is URL then they should match exactly (after you strip www. off the host because usually either are valid) and if it's a domain license then the Host should just end with the domain you have in the license.

With multistore now you would want the store owner to be able to save multiple license keys and when you are checking them, loop through all and see if one is valid.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
StackOverflow - http://stackoverflow.com/users/113988/andymckenna
http://bitshiftweb.com - FirstData and Payeezy payment plugin and contract development services
Posted: September 05, 2013 at 10:16 PM Quote #104754
http://bitshiftweb.com/verifying-a-license-key-in-your-plugins

Now with fancy syntax highlighter!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
StackOverflow - http://stackoverflow.com/users/113988/andymckenna
http://bitshiftweb.com - FirstData and Payeezy payment plugin and contract development services
Posted: August 18, 2014 at 1:42 PM Quote #128645
Hi Andy

Just to let you know we have updated the plugin to 3.40 for you, please let me know if you need a copy.
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please VOTE if this has been of some help.

Kind Regards
Ron Palmer (Xtreme Commerce Ltd)
Director & Developer at http://www.nopresponsive.com
nopCommerce Solutions Partner/Nop MVP

Email: [email protected]
Skype:xtremecommerce

Responsive Web Development for nopCommerce
Posted: August 25, 2014 at 2:36 PM Quote #129191
Can you post it?  Some other people have asked me for a 3.4 version and I just haven't had time to work on it.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
StackOverflow - http://stackoverflow.com/users/113988/andymckenna
http://bitshiftweb.com - FirstData and Payeezy payment plugin and contract development services
Posted: October 24, 2014 at 6:48 AM Quote #133846
Hi Guys

If anybody would like a 3.40 version of the plugin please email me here: [email protected], and I'll reply with the plugin attached for you.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please VOTE if this has been of some help.

Kind Regards
Ron Palmer (Xtreme Commerce Ltd)
Director & Developer at http://www.nopresponsive.com
nopCommerce Solutions Partner/Nop MVP

Email: [email protected]
Skype:xtremecommerce

Responsive Web Development for nopCommerce
Posted: December 15, 2014 at 8:12 PM Quote #137068
Hi Ron, I have emailed you, as you said, as I would like a 3.40 version. However you have not replied? Perhaps I am being impatient and you haven't had time yet?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 3 4 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2017
Learn more