• in wp-content\plugins\license-manager-woo\includes\Integrations\WooCommerceSubscriptions:
    public function getCustomerLicenseKeys( $args ) returns null when ‘order’ is not included in the args.

    I’m not sure why its being called on my non-subscription product after getCustomerLicenseKeys($order) from wp-content\plugins\license-manager-woo\includes\Integrations, but I was able to get it showing my license info by adding

    public function getCustomerLicenseKeys( $args ) {
    if (!isset($args['order'])) {
    //Args does not contain 'order' key, return input.
    return $args;
    }
    //rest of code
    }


    I just wanted to report in case this was a bug.

    • This topic was modified 2 weeks, 4 days ago by kmsupport.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kmsupport

    (@kmsupport)

    After some testing, returning the array seems to crash addOrderLicenseKeys function in includes/Integrations/emails/template.php, preventing orders. I have not been able to find a way to get the email to send the formatted info.

    • This reply was modified 2 weeks, 4 days ago by kmsupport.
    Plugin Support mobi5533

    (@mobi5533)

    Hi @kmsupport

    Thank You For Contacting WpExperts Support Team!

    Our technical team would need more details on the issue you are facing. Kindly create a ticket on our official website with the same summary so we can assist you efficiently.

    Thank You

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