-
Notifications
You must be signed in to change notification settings - Fork 382
Open
Description
If using pmpro_next_payment() without filtering the returned date explicitly for this case, it ignores the expiration date (if set). We typically set the enddate for cases where the admin wants the membership to expire at the end of the payment cycle when cancelling, not when the operation is done.
Does it make sense to have pmpro_next_payment() include a check for enddate being set for the user, before attempting to use the period & previous order to calculate what will likely be an incorrect "next billing date" (there shouldn't be one).
I can add a check if this is an approach you think would be appropriate.
Reactions are currently unavailable