Good plugin… but
-
So this is a great plugin and does exactly what it says it will; however, this plugin is NOT compatible with WooCommerce subscriptions, and if you run that plugin this will cause issues for you.
The stacktrace that we got on subscription RENEWALS was:
2021-01-20T05:30:47+00:00 CRITICAL Uncaught Error: Call to a member function __unset() on null in /mnt/volume_nyc1_01/wp-content/plugins/order-tip-woo/frontend/controllers/main.class.php:124 Stack trace: #0 /var/www/site//public_html/wp-includes/class-wp-hook.php(289): WOO_Order_Tip_Main->remove_tip_on_order_placed() #1 /var/www/site//public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #2 /var/www/site/public_html/wp-includes/plugin.php(484): WP_Hook->do_action() #3 /mnt/volume_nyc1_01/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(88): do_action() #4 /mnt/volume_nyc1_01/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->create() #5 /mnt/volume_nyc1_01/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(187): WC_Data_Store->create() #6 /mnt/volume_nyc1_01/wp-content/plugins/woocommerce/includes/class-wc-order.php(220): WC_Abstract_Order->save() #7 /mnt/volume_nyc1_01/wp-content/plugins/wo in /mnt/volume_nyc1_01/wp-content/plugins/order-tip-woo/frontend/controllers/main.class.php on line 124
This lost us a decent chunk of monthly revenue, since the failure itself didn’t generate any emails saying there was a failure. Luckily we had a user reach out to us about this issue.
In general I think that the steps to reproduce *might* be.
Install subscription plugin (official woocommerce one),
Set up subscription product
Buy product and have active subscription
Install order-tip-woo
Set up availability of tipping on orders.
Have renewal pop up, since it was a null value on the initial order, it isn’t included in the renewal.
Null pointer fails the tx.So, like I said, if you have a simple shop and don’t use memberships / subs, this will work exactly as designed.
- The topic ‘Good plugin… but’ is closed to new replies.