• Resolved Dang Ngoc Binh

    (@dangngocbinh)


    Hi, I have some problems with change subscription. It will show error.

    I think may be problem with this code:

    class-form-hanlder: line 1817

    if( isset( $_POST['current_subscription'] ) ){
    
                    $subscription = pms_get_member_subscription( absint( $_POST['pms_current_subscription'] ) );
    
                }

    should be change to

    if( isset( $_POST['pms_current_subscription'] ) ){
    
                    $subscription = pms_get_member_subscription( absint( $_POST['pms_current_subscription'] ) );
    
                }

    and class-payment-getway-manual.php function process_sign_up line: 77
    It can’t get subscription because current getway pay for new subscription plan. But it get current subscription.

    $subscription = pms_get_current_subscription_from_tier
    so $subscription->update will make an error

    I dont know so much about logic to change subscription. I hope author’s plugin will cover this issues.

    Another question i want to ask, how about amount of time from last subscription. Can that time add with new subscription plan? And price for new plan?

    Thank you so much!
    Your plugins very useful and flexibility!

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

    (@raster02)

    Hello @dangngocbinh,

    I’m going to verify these and fix what’s needed.

    Another question i want to ask, how about amount of time from last subscription. Can that time add with new subscription plan? And price for new plan?

    We’re working on adding this through a pro-rate feature, currently they just lose the previous time. This will apply to Upgrades and Downgrades only though.

    Regards.

    Thread Starter Dang Ngoc Binh

    (@dangngocbinh)

    Thank you @raster02.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some problems with change subscription plan’ is closed to new replies.