• kmsupport

    (@kmsupport)


    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 3 weeks ago by kmsupport.
Viewing 3 replies - 1 through 3 (of 3 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 3 weeks 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

    Plugin Support mobi5533

    (@mobi5533)

    Hi @kmsupport

    I hope you’re doing well! We just wanted to check in to see if you need any further assistance from our side.

    This ticket will close automatically in 24 hours, but if you have any additional questions or need support, feel free to reopen it or start a new one. We’ll be happy to help!

    Thank you!

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