Subscription Logic for Robi

Subscription duration value should be:

  • 2 for daily subscription
  • 8 for weekly subscription

Daily Subscription

📘

Scenario 1

  1. User subscribe on 14th April 2017 with a subscription duration of 2 days.
  2. The expiry date for the subscription will be on 14th April 2017, end of day (midnight).
  3. Service Provider can call for renewal from 15th April 2017 onwards until the grace period ends.

Weekly Subscription

📘

Scenario 1

  1. User subscribe on 14th April 2017 with a subscription duration of 8 days.
  2. The expiry date for the subscription will be on 20th April 2017.
  3. If the grace period is set to 5 days, Service Provider can call for a renewal charge between 21st April 2017 to 25th April 2017.
  4. If the Service Provider tries to call for renewal on 26th April 2017, the renewal request will be denied.

📘

Scenario 2

  1. User subscribe on 14th April 2017 with a subscription duration of 8 days.
  2. The expiry date for the subscription will be on 20th April 2017.
  3. If the grace period is set to 5 days, Service Provider can call for renewal charges between 21st April 2017 to 25th April 2017.
  4. If the Service Provider only successfully calls for renewal on 24th April 2017, the new subscription period will be calculated from the renewal charge success date. For this case, the new subscription period will be from 24th April 2017 to 30th April 2017.