Issue with certain subscriptions
-
As others have reported I get errors when doing bundle subscriptions. At the point of transfer to the payment gateway, the process fails and give a “Server Error” notice but the order is recorded in the backend.
My error logs say the issue is due to “woo_lifetime_date” requiring 3 inputs but only being sent 2. I noticed that this filter on line 41 only use the $status and $ordeR_id input variables anyway with the 3rd $order” being redundent. As such simply making this an ‘optional’ input seems like the logical fix.
Try making the following change to ‘wp-content/plugins/woo-subscriptions-variation-lifetimeonetime-purchase/woo-subscriptions-variation-lifetime.php’
Change this:
function woo_lifetime_date( $status, $order_id, $order )to this:
function woo_lifetime_date( $status, $order_id, $order=” )P.s. Thanks, this is a great plugin.
- The topic ‘Issue with certain subscriptions’ is closed to new replies.