• Resolved Vincent P

    (@vincent-p)


    Hi,

    First, congratulation for your amazing plugin !
    I love it.

    I find an issue :
    – I desactivate a licence form the wordpress admin
    – The Validation API resquest /wp-json/lmfwc/v2/licenses/validate/ always reply that the licence is OK.
    array (size=2)
    ‘success’ => boolean true
    ‘data’ =>
    array (size=3)
    ‘timesActivated’ => int 10
    ‘timesActivatedMax’ => int 50
    ‘remainingActivations’ => int 40

    Do I do a mistake or there is an issue ?

    Thanks a lot !

    Vincent

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @vincent-p

    thank you for your message and for using my plugin.

    I think it’s not really an issue. If you check the response data, you’ll see that the maximum activation count (timesActivatedMax) is 50. This means, the license key can be activated 50 times. You currently have activated it 10 times (timesActivated) and can still activated it 40 times more (remainingActivations).

    Thread Starter Vincent P

    (@vincent-p)

    Hi @drazenbebic !

    Thanks for your response !

    In fact, imagine, someone bought you a plugin licence with only one activation.
    For a whatever reason, you deactivate this licence on the admin.
    But when the plugin control the licence with the validation API, the result is success.

    @vincent-p

    Okay, so basically what you are suggesting is to return a HTTP Error code (403 forbidden? 500?) when the activation fails?

    @vincent-p

    I marked this topic as resolved due to inactivity.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘After deactivate licence, validation by API is always OK.’ is closed to new replies.