michelve / software-license-manager

🔐Wordpress Software License Management. Supports WooCommerce, and WP eStore.
https://epikly.com
GNU General Public License v3.0
77 stars 29 forks source link

WooCommerce 7.x not creating Keys on order completion. #93

Open snxraven opened 1 year ago

snxraven commented 1 year ago

Describe the bug

When submitting an order WooCommerce 7.x no longer processes the order like it used to.

Steps to reproduce the behavior:

  1. Submit the order
  2. View Order details but see no key

Before the order would have a key generated and attached, currently, I cannot see any evidence that the plugin is interfacing with WooCommerce.

snxraven commented 1 year ago

This output probably does not provide much but this is what I see in the php-fpm log

[09-Dec-2022 23:45:17 UTC] Matomo: Tracked ecommerce cart update: 
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 106
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 106
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 107
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 107
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 108
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 108
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 109
[09-Dec-2022 23:45:27 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/store/wp-content/plugins/software-license-manager/woocommerce/includes/purchase.php on line 109
[09-Dec-2022 23:45:31 UTC] Matomo: Matomo new order 415
[09-Dec-2022 23:45:31 UTC] Matomo: Order 415 with order number 415 has status: completed
[09-Dec-2022 23:45:31 UTC] Matomo: Tracked ecommerce order 415 with number 415
snxraven commented 1 year ago

To reproduce:

Install latest WP Install WooCommerce Install this plugin Setup product with license with WooCommerce Enabled Submit Order License details show on product page Complete sale, nothing happens to the order No notes added