Ok from my tests it still needs some work for WooCommerce Subscriptions.
– License options are not saved correctly for “Variable Subscriptions”.
– It may be better idea to use the “Processing” status as trigger for generating key.
Also, this is unrelated to WooCommerce subscriptions.
I faced this problem, because i deleted product that has active licenses and that broke the “License Keys” tab in the “My Account” with this error. I guess you should check if the object is of type product, if not just print ‘Unknown product’.
[26-Jan-2020 16:34:11 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_formatted_name() on bool in /home/webhost/public_html/wp-content/plugins/license-manager-for-woocommerce/includes/integrations/woocommerce/Controller.php:132
Hello @darkog
Thank you for your message and for using my plugin.
First off, the coming update will allow you to pick which status triggers the sale of a license key (you can select more than one as well).
As for WooCommerce Subscriptions – No, sadly the integration isn’t complete yet. It’s an old request but I keep pushing it back because I don’t have much experience with the plugin.
And finally the error: Thanks, I will add it to the backlog and fix it asap.
You can also track the issue here:
https://github.com/drazenbebic/license-manager-for-woocommerce/issues/58