メインコンテンツまでスキップ

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:

Card説明
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:

Column説明
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

Column説明
Invoice NumberUnique identifier
TenantThe tenant the invoice belongs to
AmountTotal invoice amount
TaxTax amount included
ステータスpending, paid, or void
DateWhen the invoice was created

⏭️ 次のステップ