pmpro-subscription-delays icon indicating copy to clipboard operation
pmpro-subscription-delays copied to clipboard

Feature Request: Send notification email that subscription delay is ending

Open andrewlimaza opened this issue 8 years ago • 2 comments

A user would like the ability to send an email before the subscription delay ends, similar to trial end email template.

andrewlimaza avatar May 03 '17 08:05 andrewlimaza

Yes. Let's do this. We can use this email template for reference: https://github.com/strangerstudios/paid-memberships-pro/blob/dev/email/trial_ending.html

Note that we don't actually send this email in the core PMPro plugin anymore (because we cheat and setup trials to separate out the first payment). Here it's okay to send this email. We should be able to figure out the date to send this... maybe we need to set a user meta at checkout and keep track of that in case the level/sub changes.

ideadude avatar Dec 06 '17 16:12 ideadude

So we can use this user meta: https://github.com/strangerstudios/pmpro-subscription-delays/blob/master/pmpro-subscription-delays.php#L144

Probably need to make sure that that gets cleared out if the level changes still.

ideadude avatar Dec 06 '17 16:12 ideadude