Skip to main content

Payments & Invoices

The payments page (Admin โ†’ Payments & Invoices) provides a unified view of all payment activity and invoicing across the platform. The page is organized into two tabs: Payment Events and Invoices.


๐Ÿ“Š Revenue Statsโ€‹

At the top of the page, four summary cards display platform-wide financial metrics:

CardDescription
Total RevenueSum of all paid invoice amounts
Total RefundedSum of all refunded amounts
Pending AmountSum of all pending invoice amounts
Invoice CountTotal number of invoices across all tenants

๐Ÿ“‹ Payment Events Tabโ€‹

This tab shows a log of all payment-related webhook events from Stripe and PayPal.

Event Logโ€‹

Each entry shows:

ColumnDescription
GatewayStripe or PayPal
Event Typee.g., customer.subscription.created, invoice.payment_failed
TenantWhich tenant the event relates to
Event IDThe unique event ID from the payment gateway
ProcessedWhether the event was successfully processed
DateWhen the event was received

Filteringโ€‹

Filter by:

  • Payment gateway (Stripe/PayPal)
  • Event type
  • Tenant
  • Date range

Each payment event row can be expanded to show linked invoice details, including the invoice number, amount, and status.


๐Ÿ” Tracked Eventsโ€‹

Stripe Eventsโ€‹

EventWhat Happens
checkout.session.completedNew subscription activated
customer.subscription.createdSubscription record created
customer.subscription.updatedPlan change or renewal
customer.subscription.deletedSubscription cancelled
invoice.payment_failedPayment failed โ€” notification sent

PayPal Eventsโ€‹

EventWhat Happens
BILLING.SUBSCRIPTION.CREATEDSubscription initiated
BILLING.SUBSCRIPTION.ACTIVATEDSubscription confirmed
BILLING.SUBSCRIPTION.CANCELLEDSubscription cancelled
BILLING.SUBSCRIPTION.SUSPENDEDSubscription suspended

๐Ÿงพ Invoices Tabโ€‹

This tab displays all tenant invoices across the platform.

Filteringโ€‹

Filter by:

  • Tenant
  • Status (pending, paid, void)
  • Date range

Invoice Tableโ€‹

ColumnDescription
Invoice NumberUnique identifier
TenantThe tenant the invoice belongs to
AmountTotal invoice amount
TaxTax amount included
Statuspending, paid, or void
DateWhen the invoice was created

โญ๏ธ Next Stepsโ€‹