Skip to main content

Downgrade Webhook

Handles webhook events triggered by package downgrade flows for Qontak One clients. Modpanel recalculates postpaid usage on subscription update and, when negative quota is detected on a component with triggers_downgrade = true, dispatches staggered downgrade webhooks to Chat and CRM services so they can enforce progressive restrictions.

Scope Changes

  • Backend — Modpanel subscription-update listener; Quota Management API triggers_downgrade parameter; staggered Sidekiq downgrade-webhook scheduler (Day 0 → Week 1 → Week 2 → Week 3 → Month 1); email notification dispatch

Initiatives

QA Lane

Lane B — keeps a human QA gate. Money-critical: downgrade events trigger billing and quota recalculation. No E2E test specs exist for this initiative yet, so the Lane-A entry bar (100% E2E, spec-mapped coverage) is unmet regardless. Classified by Yoddi, Izzul (QA), 2026-06-26.