The logic of renewing subscriptions based on their duration is found below:
- If the subscriptions is under 6 months we will bill it 3 hours before expiration;
- If the subscription is above 6 months we will bill it 27 hours before expiration;
- If the subscription is above 367 days we will bill it 48 hours before expiration.
The trick here is that the subscription period counts, 1 year represents 366 days. If I have a subscription that is for 1 year and I extend it by 1 day then it is 367 and it will be renewed 2 days prior to expiration.