Support » Plugin: License Manager for WooCommerce » Active License using License key

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Drazen Bebic

    (@drazenbebic)

    Hello @monparaashvin,

    there currently is not, but there will be. In the next update it’ll be possible to perform any API actions using the actual license keys AND the ID. I will also add a deprecation notice for the ID, because that was an oversight on my end and does not make sense in most of the use-cases.

    I ask for your patience, the next plugin update will definitely fix this! 🙂

    Thanks @drazenbebic

    I have test localhost it’s increase count. how to stop them it’s license only for live server not localhost.

    Plugin Author Drazen Bebic

    (@drazenbebic)

    Hello @monparaashvin,

    I’m afraid that I don’t completely understand your question. Could you please elaborate?

    Plugin Author Drazen Bebic

    (@drazenbebic)

    Hello @monparaashvin,

    I think I understood what you meant. There is a new plugin version (1.2.4), please update your plugin and check if everything now works as it should.

    PS: It would help me tremendously if you took some time out of your day to write a plugin review here on WordPress. Those reviews really help spread the plugin and mean a lot to me personally.

    Hello @drazenbebic, I appreciate your work, but I don’t know, if it’s somehow useful this plugin if you can’t active license through your generated license.

    I have use case:

    1) Somebody come to my store and buy a Software
    2) Your plugin generate the license after the order is in status “Complete”
    3) The Woocommerce will send him his License Key and Download.
    4) The customer go to his bought software and type what…? Order ID? No he should type license key, right?

    I don’t know if I am understanding this plugin well, but it would be great if the API documentation is more described.

    Thank you.

    Plugin Author Drazen Bebic

    (@drazenbebic)

    Hello @aionczech,

    thanks for your message and for using my plugin.

    In its current version, the plugin offers two main features:

    1. Sell and manage your license keys through WooCommerce
    2. Use your shop as a licensing server

    The first point is clear I think. A customer purchases something, receives a license key and all is well.

    The second point is meant for developers. It allows you verify and check licenses from outside the plugin. For example the software you mentioned: Your user would of course type in the license key, and the license key would be checked with the REST API if it’s been used or not.

    Your problem is probably the GET licenses/validate/{id} route. The ID is the primary key of the database entry. I realize that this is not very practical in most cases and will fix the route to work like this:

    GET licenses/validate/{license-key}

    You would get the same response. This change will be made in the upcoming 1.3 version. I hope that this answers your question.

    Wow, thank you for such a quick reply!

    So for validation you are currently just using ID, but what about activating license? Let’s say I am selling some Wordpres plugins and I want users to always have activated a license when they want to receive updates, using the plugin etc.

    They need to first buy the product and then activate the license. Somewhere in the plugin/software is input with “Your license key” and when they put it and hit enter, your license server (plugin) will say if it’s validated.

    If it’s validated, but never activated, it will increase activation by 1. Right?

    I don’t understand how I can just simply do the request to your license manager server and it will increase activation by one (possibly show it in WP).

    Hope it makes sense.

    David

    Plugin Author Drazen Bebic

    (@drazenbebic)

    @aionczech,

    Hello David,

    for activation you would use the PUT licenses/activate/{id} route.

    This route will also be changed to accept the license key as a parameter in the upcoming release.

    Perfect, it works. Thank you, I have just one final question – how our customers can find what {id} they should put in the plugin activation process?

    Because now they have only License Key. In our plugin, the process should be
    1) get all the licenses, check if that user’s license that he put into input exists
    2) use licenses/activate/{id} and activate it.
    3) then validate it

    Right?

    Or if you have an estimate when you want to release the update with {license_key} as a parameter, that would be great. Because now it’s a really huge security risk if somebody knew, that he can get all the licenses through GET licenses endpoint.

    Plugin Author Drazen Bebic

    (@drazenbebic)

    The new update will be coming some time next month, by the end of august the latest

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.