strangerstudios / pmpro-reason-for-cancelling

Require members to provide a reason for leaving before they can cancel their membership.
https://www.paidmembershipspro.com/add-ons/pmpro-reason-cancelling/
13 stars 10 forks source link

Users without confirmed email address cannot cancel membership #22

Closed dparker1005 closed 2 years ago

dparker1005 commented 2 years ago

If a user's email address is not yet confirmed, then the link shown on the PMPro Account page to cancel their level will redirect back to the account page.

This is because that link appends ?levelstocancel=[level_id] to the cancellation URL, but the PMPro billing preheader does not think that the user has the membership level that they are trying to cancel because their email address is not yet confirmed.

dparker1005 commented 2 years ago

This was meant to go in the PMPro Email Confirmation repo. New issue here: https://github.com/strangerstudios/pmpro-email-confirmation/issues/44