Thanks, I found it and have been working with the interesting functions it presents.
Now I have a new question related to this.
Up to now, we had two paid "plans": a 1 year membership, and a 2 year membership.
Both memberships give the exact same access to the user, only difference is the duration (and, of course, the price).
With these new options of the plugin, I would like to use only one "plan", where the user then chooses 1 or 2 years within that plan. I have been able to set this up without a problem, by creating a separate new plan for this.
Of course, at the moment, the two old plans are still in use by users subscribed to it. The idea is that these plans can no longer be renewed, so that if these users want to resubscribe to a paid plan, they can only choose the new one (where they can then choose the duration).
However, when I do a test subscription to the new plan while the current one is still active, the expiration date is not set correctly. Meaning that the remaining duration of the new subscription is not added to the current subscription.
For example, is subscribed to the old 1 year plan, and has 11 months left. Today, they decide to subscribe to the new plan and within there also choose 1 year. Then the expiration date should be delayed with 1 year, meaning they have 1 year and 11 months left.
However, that is not happening. The new expiration date is only 1 year from now, and the remaining 11 months from the old plan disappear for the user.
With the old 1 year/2 year plans, this worked without a problem. Only with this new plan, using the Options, it seems not to be the case.
In the "Pricing" tab (the regular one, not the one under "Options") of the new plan, the setting "Manual renewal extends expiration date as follows" is set to "whichever happens last", which is also the case for the two old plans.
Is there a way to fix this, so that if users subscribe to the new plan, they don't lose the remaining duration of their old plan?
Thanks!