• Resolved Phill Healey

    (@munklefish)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author logicfire

    (@logicfire)

    Hi
    Thanks for the pointing the bug and solution for it. I have already updated the plugin and uploaded.

    Thanks
    Logicfire

    Thread Starter Phill Healey

    (@munklefish)

    No problem,

    This helped me a lot so just returnong the favour. Glad to see you are still active and the plugin isn’t dead.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with certain subscriptions’ is closed to new replies.