Is this plugin for only generating license key?
How to verify product key with selling plugin?
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.
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.
Just to let you know we have updated the plugin to 3.40 for you, please let me know if you need a copy.
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.
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?