• Resolved rickvandijck

    (@rickvandijck)


    Hi there,

    First of all, thanks for writing this awesome (and free) plugin!
    I’ve been loving how smooth and advanced it works, but I do miss something, or at least don’t know how to get it working.

    I’m using a custom thank you plugin for WooCommerce to show after a order is completed. Is there any way (shortcode) to show the license key linked to the order using your plugin?

    Thanks in advance!

    Kind regards,
    Rick

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @rickvandijck

    Thank you for your message and for using my plugin.

    Currently there is no integration into any other plugins besides WooCommerce. However, what you’re probably looking for is a way to obtain licenses based on an order ID.

    There currently is no shortcode for this, there’s a function which will return all license keys for a specific order ID: lmfwc_get_licenses(). It takes one argument, which is an array of column key/value pairs which will be used in the “WHERE” statement. Example:

    $licenses = lmfwc_get_licenses(array('order_id' => 13));

    This will return all licenses which belong to the order with the ID “13”. Here’s the doc entry: https://www.licensemanager.at/docs/internal-api-docs/functions-reference/lmfwc_get_licenses/

    Let me know if you need further help

    Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get license to show up in custom thank you page’ is closed to new replies.