Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Issue a license key for a wordpress plugin? (https://www.warriorforum.com/programming/306157-issue-license-key-wordpress-plugin.html)

ProEFI 26th November 2011 02:07 PM

Re: Issue a license key for a wordpress plugin?
 
Hi Rob,

That's right... since this post I have found a system and implemented it into my business model. I've packaged it into a WSO training program too.

Andrew

EricHall 26th November 2011 02:42 PM

Re: Issue a license key for a wordpress plugin?
 
Have you looked into Ioncube PHP Encoder?
You can set it to have your plugin only run from certain websites or unlimited with a license key.

I have used this on several plugins. It works great!

xrvel 27th November 2011 12:41 AM

Re: Issue a license key for a wordpress plugin?
 
@Eric : I use IonCube too. Sometimes just using Ioncube solves your problem. Sometimes it doesn't, really depends on your need.

However i've created a library for WP licensing problem. You can use domain limitation such as user can use the product on max 10 domains, etc.
Probably i'll throw it on WSO soon, i haven't tried to write a sales letter first LOL.
Buf if you are interested, you can PM me and i can show you the explanation etc.

Again, sometimes using IonCube is good enough (depends on your need) and IonCube online encoder is cheap :)

Terry Crim 27th November 2011 08:05 AM

Re: Issue a license key for a wordpress plugin?
 
One thing you need to be sure of if you implement security like this is that the domain you use for checking the license needs to ALWAYS be online FOREVER. So in 5 years you still have to have this system up and running or else all the plugins people purchased from you instantly go dead.

I implemented something like this but a little more advanced in a project once but it took into account the possible unavailability of the site by storing a custom activation code generated by the licensing site taken from part IP, domain name and special code generated from the plugin. Once activated it didn't need to call home except to check for updates and that was able to be disabled by user if they wanted.

Each site had it's own code so you couldn't just plug in any code or one from another site. I also experimented with auto regeneration of the code but that got too complex for users so I abandoned that.

Just be aware that if you implement a licensing scheme that requires the software, wp plugin or whatever to call home that you make allowances for that and purchase a domain name for more than one year at a time, preferably 5 to 10 years and make sure hosting is reliable.

There are more than one expensive plugins for software that have gone dead due to either out right abandonment of the software, selling out to a competitor or another business or just not taking the time to make sure things would be up and running for years in the future eg: hosting or letting domain expire etc...


- T

xrvel 27th November 2011 10:26 AM

Re: Issue a license key for a wordpress plugin?
 
Quote:

Originally Posted by Terry Crim (Post 5128364)
One thing you need to be sure of if you implement security like this is that the domain you use for checking the license needs to ALWAYS be online FOREVER. So in 5 years you still have to have this system up and running or else all the plugins people purchased from you instantly go dead.

This is very true. And make sure the hosting that you use is very reliable (very very little downtime). VPS or dedicated server is suggested.

jasonthewebmaster 6th December 2011 05:00 PM

Re: Issue a license key for a wordpress plugin?
 
a script can be GPL and still be sold commercially. ultimately it's up to the developer. if they choose to publish under a GPL license, then they run the risk of having their stuff shared. by encoding the plugin, though, they break the GPL license and so are not following their own licenses. also, a plugin MUST be GPL to be featured on wordpress.org

webtechprodigy 9th December 2011 08:25 PM

Re: Issue a license key for a wordpress plugin?
 
Quote:

Originally Posted by Skylr (Post 3101414)
I too have a WP plugin that I want to charge for and also PROTECT.

I like the way Optimize Press has a license code system in place to protect their theme from being shared.

Has anyone see purchased it and seen how they do things?

You need to put the domain names of the sites you plan on using the theme on into a place on their site/server (??) and then it automatically displays a license code you need to enter into the dashboard of the site where you want the theme to activate it.

i would like to do the same thing for my plugin.

Anyone know if there is anything out there like that? Or would I have to hire a coder myself?

Thanks!

Sky

There is a custom XML file that you will need to embed in your plugin/theme which has a call back function to your main site where you are hosting your sales site.

You might have seen that some themes and plugins give a 'there is a new version of this plugin available please upgrade' messages in your dashboard. This is the same XML file that is used to do so...

honeyclarck 10th December 2011 04:11 AM

Re: Issue a license key for a wordpress plugin?
 
Hello Bill
I am new in this field i suggest you to go Google or youtube and write your problem it gives you the best solutions.

jackjohnson 22nd December 2011 07:43 PM

Re: Issue a license key for a wordpress plugin?
 
if someone has a licensing system they would like to make in to a WSO, I am up for writing the sales letter if that is a roadblock. I think a lot of people would like a system like this for their software development

mstdev 10th February 2012 07:52 AM

Re: Issue a license key for a wordpress plugin?
 
Quote:

Originally Posted by russjam (Post 3415570)
I implemented a similar approach to the premium plugin, Gravity Forms, in my own plugin, Slickr Flickr. I came up with the solution by inspecting their code.

I addressed the GPL and licensing issues as follow

1) Plugin is GPL and non encoded

2) Plugin has free version

3) Premium version comes with support and access to membership forum as well as bonus features that are unlocked with the license key

4) When someone buys the system generate a random 32 character key that has a few decillion possible unique values, sets up a membership account and emails them the login so they can log in and get their license key

5) Member enters their license key in the plugin's admin settings

6) Custom validation makes remote call to check license key is valid - a green tick is placed alongside the key if it is valid and a red cross if it is invalid

7) Whenever, the plugins page is visited, and the 12 hour cache has expired, a remote license check is made: I collect referrer information so I know on how many domains the license is being used - I could add more restrictions in the license validator but do not need to yet as nobody is taking the mickey


Because the code is GPL anyone can take it and remove the license checking if they wanted to so the security will not deter anyone with a little bit of time and determination who does not want to pay me for my work. This approach makes sense for me as the plugin is cheap so it is not worth spending a lot of time and effort to protect it.

However, I would go down the IonCube encryption route if you need to protect the code better. This can still be GPL as long as you offer to give anyone a copy of the unencrypted code to anyone who asks for it. (That's the rules). However you can send them a printout of the code by post so it you think the requestor has mal intent you can make it a little more difficult for them.

If you require more protection, then you can move some of the code on to a server and implement the plugin as a client/server implementation. Here you protect your IPR by hosting the key components on your own server while the client part of the plugin is GNU Lesser General Public License. Matt Mullenweg's own Akismet plugin is an example of the client/server approach

If you would like the random license key generator code just PM me.

hi russjam

can you share that license key generator code to me.

I want to use that on my wordpress plugin. Please share that :)

Thanks

Bamma 13th February 2012 09:05 AM

Re: Issue a license key for a wordpress plugin?
 
Has anyone released anything yet that can do do the license key generation and check?

@RussJam

I would also like to see the generator code if possible.

gatech 22nd April 2012 02:48 AM

Re: Issue a license key for a wordpress plugin?
 
Did I miss something... did the user ever complete the licensing plugin he mentioned or more specifically detail how he solved the licensing problem?

From ProEFI ...
Quote:

That's right... since this post I have found a system and implemented it into my business model. I've packaged it into a WSO training program too.
Is the end result of this thread "I figured it out, buy my course to figure out what I did"?. I PROMISE I don't mean that as poorly as it may sound. It's late. I'm tired. I'm interested. I care :-).

ProEFI 22nd April 2012 01:08 PM

Re: Issue a license key for a wordpress plugin?
 
Hi gatech,

I went with SPBAS Business Automation Software | PHP Licensing, Client Management

Thanks,
Andrew

Jeff Baer 28th April 2012 08:40 AM

Re: Issue a license key for a wordpress plugin?
 
Quote:

Hi gatech,

I went with SPBAS Business Automation Software | PHP Licensing, Client Management

Thanks,
Andrew
Are you happy with your decision?

sorinnunca 8th September 2012 09:29 AM

Re: Issue a license key for a wordpress plugin?
 
Hey, I just finished my wordpress plugin licensing software.
You can check it out at Wordpress Plugin Licensing

Sorin

jefK 6th August 2014 10:01 AM

Re: Issue a license key for a wordpress plugin?
 
Have you tried PHPLicengine ? It supports several type of licenses, like local, remote and ionCube. I used its remote php licensing but now moved to its online ionCube license generation and it seems to be good.

SteveJohnson 10th August 2014 12:01 AM

Re: Issue a license key for a wordpress plugin?
 
Quote:

Originally Posted by jefK (Post 9419588)
Have you tried PHPLicengine ? It supports several type of licenses, like local, remote and ionCube. I used its remote php licensing but now moved to its online ionCube license generation and it seems to be good.

He probably did - TWO+ YEARS AGO.

Please don't dredge up dead threads.

jasonthewebmaster 17th August 2014 07:02 PM

Re: Issue a license key for a wordpress plugin?
 
The GPL debate aside here are some actual solutions for what the OP is trying to do...

https://wordpress.org/plugins/product-licensing-system/

https://easydigitaldownloads.com/ext...re-licensing/+

+http://www.warriorforum.com/warrior-...p-license.html

majick 18th August 2014 10:03 AM

Re: Issue a license key for a wordpress plugin?
 
another good option is to only provide updates to those with a valid license key,
and use a private update server for verifying the plugin update key...

WordPress Update Server | W-Shadow.com
Plugin Updates: Securing Download Links | W-Shadow.com

serpyre 19th August 2014 08:38 PM

Re: Issue a license key for a wordpress plugin?
 
Callbacks only really work if there is enough trust between the developer and the purchaser, as most are startups that doesn't exist so you limit sales. On the other hand you need to make sure the IP stays yours. You have ionCube, but remember, everything about WP is free, so charging is hrder, charging with callback and not being a household name caysing lack of trust puts a damper on sales.


All times are GMT -6. The time now is 09:04 PM.