Business Domains
Suspension & Reactivation Lifecycle
Automated daily lockouts for expired accounts, session kicking, and instantaneous service restoration upon payment.
Suspension & Reactivation Lifecycle
IMPLEMENTED
Maintaining cash flow requires reliable, non-blocking automation to disconnect delinquent subscribers and instantly restore access when payment is received.
1. Automated Expiration & Suspension Flow
Every midnight, the Celery Beat scheduler triggers expire_customers(tenant_id).
Rendering diagram...
2. Instant Reactivation Flow
When a subscriber pays via bKash/Nagad or staff processes a recharge:
process_rechargeis dispatched.- The database updates
Customer.status = 'ACTIVE'and incrementsexpiry_date. MikroTikService.enable_pppoe_user()is invoked immediately.- If an isolated session exists, it is kicked so the subscriber immediately renegotiates PPPoE with full high-speed Internet access.