Support » Plugin: License Manager for WooCommerce » Need get lmfwc/v1/licenses/{license_key} and some problems

  • Resolved ppgutkus


    First of all this is useful API I’m very impressed just need some more optimize.

    Question 1.
    I need api command get lmfwc/v1/licenses/{license_key} for external user (eg. call from desktop applciation) user just send the license_key (eg. 2521-DF2A-5BE1-41D6) and get information (eg. expire date) but i found just lmfwc/v1/licenses/{id} user should not know id of license key.

    Question 2.
    How to remove authorized API keys with new api command (that I requested in Question 1) because user in desktop application might not have api key.

    Question 3.
    How to test in local without SSL enable now i call with no SSL result at below.

        "code": "lmfwc_rest_no_ssl_error",
        "message": "The connection is not secure, therefore the API cannot be used.",
        "data": {
            "status": 403

    Thanks in advance.

    • This topic was modified 1 year, 6 months ago by ppgutkus.
    • This topic was modified 1 year, 6 months ago by ppgutkus.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Drazen Bebic


    Hello @ppgutkus,

    thanks for your message and for using my plugin!

    Since we’ve already discussed these points via email I will just write up a summary here for others to see as well:

    1. Will be implemented in a future plugin version, no problem
    2. API keys can only be revoked via the backend. I do not plan to add an API call to revoke API keys.
    3. Currently the plugin does not have a setting to turn SSL off, but I will add this too. In the meantime you can edit the /includes/api/Authentication.php file, on line 76 change the “IF” statement to 1 == 1 instead of is_ssl()

    I hope that I could help with this.

    Thanks, I’ll wait for update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need get lmfwc/v1/licenses/{license_key} and some problems’ is closed to new replies.