Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Account Status "Pending" After Monthly Renewal

by

Simple Membership Plugin › Forums › Simple Membership Plugin › Account Status "Pending" After Monthly Renewal

Tagged: monthly, payment, renewal

This topic contains 8 replies, has 3 voices, and was last updated by  Hactor 14 hours, 10 minutes ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • March 13, 2021 at 5:13 am #22259

    Hactor
    Participant

    Hi Team,

    I have a monthly subscription in my website.
    But the user Account status changed from “Active” to “Pending” after each renewal.
    How can I stop changing it to “Pending” and keep them “Active” after renewal?

    –
    Thanks

    March 14, 2021 at 4:33 am #22260

    mbrsolution
    Moderator

    Hi, what have you selected under WP Membership -> Settings -> General Settings -> Default Account Status?

    Thank you

    March 14, 2021 at 5:03 am #22261

    Hactor
    Participant

    Hi,

    It’s set as “Pending”.

    –
    Thanks

    March 14, 2021 at 5:31 am #22262

    mbrsolution
    Moderator

    Then it is safe to say that this is the reason why the account is set to Pending after the renewal.

    Kind regards

    March 15, 2021 at 5:46 am #22265

    Hactor
    Participant

    Hi,

    I have a scenario,
    When User 1st create the account on my website at that time, I want to manually approve them that’s why I have added them as pending.
    But after 1st approval on each renewal, I don’t want to re-approve them. I want to keep them Active.

    Is there any workaround for such a scenario?

    –
    Thanks

    March 15, 2021 at 10:00 pm #22267

    mbrsolution
    Moderator

    Hi, unfortunately that feature is not currently available.

    Kind regards

    March 16, 2021 at 6:29 am #22274

    Hactor
    Participant

    Is there any workaround available?

    March 17, 2021 at 1:55 am #22277

    admin
    Keymaster

    We will need to add a filter hook for this so for your site you can override this behavior.

    I have added a filter hook to the core code which will go out with the next release.

    You can download a zip file from the github repository now if you want to go ahead and use it right now:
    https://github.com/wp-insider/simple-membership/archive/master.zip

    Below is an example snippet of code showing how to use this new filter hook. You can add this code to your theme’s functions.php file to apply the override for your site.

    
    add_filter('swpm_account_status_for_subscription_start_date_update', 'swpm_override_account_status_for_sub_renew');
    
    function swpm_override_account_status_for_sub_renew($account_status){
        $account_status = 'active';
        return $account_status;
    }
    
    April 21, 2021 at 3:46 am #22469

    Hactor
    Participant

    Hi,

    When will be next release come and include this solution?

    –
    Thanks

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Please read this message before you start using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Copyright © 2021 | Simple Membership Plugin | Privacy Policy