-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't Cancell Membership when WooCommerce Subscription is OnHold #95
Comments
This seems reasonable. I wonder if there is consensus on this from PMPro WC users. Could make sense to add it as an option. We're kind of compiling a lot of potential options/etc based on how people are using PMPro and WC together. In the meantime, you could remove_action in some custom code for now. So add this to a custom function so you don't have to edit the plugin file each time.
|
Thanks @ideadude Yes making an options screen to decide which WC Subscription statuses trigger addition or removal of membership would be amazing!! More and more I'm switching over to allows WC Subscription manage all payments but need it to play nicely with PMPro, thus all the pull requests here ;) I currently have about 5 clients on a PMPro + WC + WC Subscriptions setup with more coming. They all want this turned off. I'll implement this function for now. Thanks! |
I'm having the issue where I want to prevent 'On-hold' subscription status members from having Paid Memberships Pro access. Right now we're manually adding in customers from an old membership platform. When we add members manually they are set to a manually renew. So when a customer doesn't pay they are on hold and still have access, which is a loophole for free content. Hope more options for this come soon! |
The functionality to cancel or remove a membership level was implemented in the PMPro Woocommerce Add On Version 1.7.4 Removing this functionality can be done by following Jason's suggestion for the time being.
|
Every time this plugin is updated I go in and comment out this line:
add_action( "woocommerce_subscription_status_on-hold", "pmprowoo_cancelled_subscription", 10 );
Most subscriptions are On-Hold if there is a payment issue and the system will automatically be retrying and many times be successful after a few times and change the status to active. If not it changes the subscription to "expired" I believe which is fine then to have the membership removed. Almost all of my clients don't want their customers losing access during the On-Hold status.
Is there a way we can make this optional?
The text was updated successfully, but these errors were encountered: