Deprecated subscription hooks prevent subscription renewal
-
We’re trying to use this plugin in combination with the “official” WooCommerce Subscriptions plugin, version 4.7.0. The authors of that plugin have deprecated a hook used by this plugin in such a way that renewing subscriptions becomes impossible.
When renewing a subscription (interactively, but this also affects automatic renewals) the following notice is displayed:
We couldn’t create a renewal order for your subscription, please try again.
This is caused by a WP_Error thrown by the subscription plugins filter deprecator:
Hook wcs_renewal_order_meta_query is deprecated since version subscriptions-core 2.5.0! Use wc_subscriptions_renewal_order_data instead.
This hook is used by the sequential order number plugin’s “remove renewal order number” functionality.
Temporarily removing the filter/hook from the sequential order number plugin does fix the renewal issues, but will probably have bigger impacts. I’d love some advice on how to proceed. I couldn’t immediately find a way to report issues, so I hope this forum is okay.
- The topic ‘Deprecated subscription hooks prevent subscription renewal’ is closed to new replies.