Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

4.1 subscription - event that kicks it back from paid to fre #3452


User avatar
0
mdonogma created

I have a specific scenario that requires me to force a subscription back to free/standard.

Example: users has paid monthly subscription however based on specific rule I want to force it to free so that they resubscribe pay again To upgrade subscription to paid again.

Can your recommend best approach


4 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi,

    There is an option at create/edit edition page that named "What will done after subscription expiry?". If you choose "Assign to another edition" and select an edition to assign, then after expiry it atomatically assigned to edition that is selected.

  • User Avatar
    0
    mdonogma created

    I get the revert back option.

    The question relates to how can I in code force the expiration.

    Example: I want to use code to expire it half way through the month due some custom business rules.

  • User Avatar
    0
    alper created
    Support Team

    Hi,

    You can use the class SubscriptionExpirationCheckWorker. The method DoWork() runs every hour. So you can implement your own custom rule to revert back to free/standard edition in the DoWork method.

    Note: Aspnet Zero checks expiration date in the same class as well.

  • User Avatar
    0
    mdonogma created

    Love your work! thank you.