-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Describe the bug
If a level requires email confirmation, if a member of the level hasn't confirmed their email, subscription cancellation at the gateway does not affect the associated membership. The membership continues indefinitely.
pmproec_pmpro_has_membership_level causes pmpro_hasMembershipLevel to return false here for members with unconfirmed emails even when they still have the membership level.
https://github.com/strangerstudios/paid-memberships-pro/blob/2679ab045553b03a08362885325fc7985299dea9/includes/gateway-request-handlers.php#L64-L67
To Reproduce
Steps to reproduce the behavior:
- Require email confirmation for a recurring membership level.
- Check out for the level, do not confirm your email address.
- Cancel the subscription at the gateway.
- Observe that the membership remains unchanged.
Expected behavior
Membership is changed to cancel on next payment date.
Isolating the problem (mark completed items with an [x]):
- I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
- This bug happens with a default WordPress theme active, or Memberlite.
- I can reproduce this bug consistently using the steps above.
WordPress Environment
Details
WP 6.7.1 PMPro 3.3.3 PMPro Email Confirmation 0.8Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels