Install Recurring Emails add-on and optionally auto-renewal checkbox
Check out for a one-payment membership with an expiration date
Before that membership expires, check out for the level again with a recurring payment (either by editing the level or via auto-renewal checkbox). This should grant the user a trial period equal to the days remaining until the expiration date of the original one-payment membership. Ex, if they had 10 days left in membership and the recurring membership had a payment every 30 days, their first recurring payment would be in 40 days.
Wait until 17 days before the recurring payment (7 days before the original expiration date), and the user will receive an email saying that their recurring payment will be charged in 7 days. The expected behavior would be for the user to be notified 7 days before the date of the recurring payment, 10 days after they actually are notified.
Code that determines orders with x days left before the next recurring payment is here:
After checking to my email logs, the email is not send 7 days before the payment, but every day during 7 days. It impacts the cancellation decision in the mind of the customer.
If a user changes their billing information and then receives a recurring email reminder, 'old' details are shown still. This causes confusion to members that recently updated their billing information.
There are issues with the SQL returning multiple records for unique user IDs and with the way we're updating and checking whether the notices have been sent.
I activated this on a production site and it sent out its first round of notifications this morning. Almost everything worked fine, except it sent emails to two members whose subscriptions had already been automatically re-billed yesterday. Funnily, the message got the !!renewaldate!! variable correct, so it sent them warnings that they're memberships will renew in July 2017. Seems like maybe the DB query grabbed them based on the previous rebill date but didn't filter them out with the latest renewal?
The only modification I made to the plugin was to add a 30-day notification to the default 7-day.
Users woud like to have this Add On email template added to CORE Memberships>Settings>Email Templates. functionality so they can customize from WP admin backend.
Recurring reminder emails can be sent after the billing limit for a membership has been reached. There should be a check for if a user's level has billing limits and whether the user has completed those payments before the email is sent.
When sending a recurring payment email reminder, PMPro populates the email based on the first active membership level that the user has. This is a result of using the pmpro_getMembershipLevelForUser() function here:
I am using the "Recurring Emails Add On" at mnsongwriters.org. I have a ticket going with PMPro Support. I am a Plus member. My support person has been of little help so far in ferreting out the code bug that results in showing a renewal date of January 1, 1970 in the recurring email notification. Here is a typical "live" message as received by a member:
“This is just a reminder that your Auto-Renewing Subscription $50/year membership will automatically renew on January 1, 1970.”
The variable !!enddate!! is used in the template “Membership level recurring payment”.