Membership end date is miscalculated on recurring payments that fail temporarily
Membership organizations hate this one weird trick to get 17% off any membership!
To replicate:
- Create a monthly recurring membership using, say, Paypal. E.g. starting 2020-03-01, ending 2020-03-31.
- If the second recurring payment goes through on time, the membership end date is extended properly to 2020-04-30. However, if the payment fails, Paypal will retry 5 days later. If it goes through at that time, the membership end date will also be extended for 5 days.