Closed MaryOJob closed 5 months ago
For Moderators Only Ticket Tag: #391063
I've retested this with the latest dev
branch and it works as intended. Levels are removed when subscriptions are cancelled.
My test had 2 subscriptions linked to different levels, I then cancelled one sub at a time and the relevant level was removed. I will leave this issue open for a bit to monitor this issue further for more edge cases.
@andrewlimaza did you test it with the upgrade? This bug occurs only after subscription upgrade (not 2 different subscriptions) (https://woocommerce.com/document/subscriptions/switching-guide/)
@piotrkunicki I was able to replicate when using a variation subscription product (upgrading and downgrading the subscription itself). We will continue to investigate this.
Steps to replicate this issue
If on local environments, be sure to process/approve the order in WooCommerce between each step if it's not marked as "completed".
Hi! Any update on that? It's really a troublesome error as every month or so we need to manually look for customers who are exploiting this bug and getting a free membership.
I observed that cancelling a variable subscription product order does not cancel the linked membership ever, even when not upgrading.
To replicate:
My environment: WP 6.2.2 PMPro 2.11 PMPro WooCommerce Add On 1.7.7 WooCommerce 7.7.2 WooCommerce Subscriptions 5.0.0
Mods: Ticket #498680
@dwanjuki adding a note here, the latest dev
branch now supports Variable Subscription Products and cancellations. Here is the merged PR - https://github.com/strangerstudios/pmpro-woocommerce/pull/199
I can confirm that this is now fixed with the dev
branch! I believe the issue was cancelling with variable subscription products didn't honor this product type and it now does. I will be closing this one out and mark it as resolved.
Describe the bug If a member upgrades to a level with a higher subscription membership from a lower one (for example, the current membership level is $40 and the member upgrades to a level that costs $50), both the initial level and upgraded level are applied in PMPro correctly.
However, if they go ahead to cancel their subscription, their account goes into pending cancelation and then canceled. Once their membership is canceled, the level in PMPro remains on the level they canceled on. And they still have access to content that should be restricted to that level.
To Reproduce Steps to reproduce the behavior:
canceled
Screenshots
Expected behavior When the WooCommerce subscription is completely canceled, the membership status in PMPro should be set to
None
and level canceled as well.Isolating the problem (mark completed items with an [x]):
WordPress Environment