Back to How it Works Index
Technical Deep-Dive

Billing & Subscription Quotas Flow

Understand the core mechanics, queues, and logic routines running on our servers when processing this module.

System Execution Pipeline

Below is the step-by-step sequence of events executed by our background workers.

1

Select Subscription

The user selects a plan (Single, Basic, Multi, or Unlimited).

2

Stripe Checkout

The browser redirects to a secure Stripe Checkout page to complete payment.

3

Webhook Response

Stripe sends a secure webhook payload (`checkout.session.completed`) to our API.

4

Quota Update

The workspace is upgraded, and limits on domains and emails are updated.

Developer & Architect Notes

Technical Architecture

This module operates as a stateless service hosted across horizontally scalable server nodes. Distributed state coordinates through highly optimized Redis transactions to ensure consistency without deadlocks.

Payment GatewayStripe API & Checkout Sessions
Event HandlingStripe Webhooks (MD5 Signatures)

Edge Fail-Safe Rules

Critical protocols (like connection failure retries, cool-down timers, and data limits) are verified before outbound dispatches. Failures degrade gracefully, prioritizing list health and preventing blacklisting.

Currencies supportedUSD ($) & PKR (₨)
Upgrade TimingInstant plan configuration changes