Chuyển tới nội dung chính

Managing Subscriptions

Subscriptions track each tenant's billing status and plan. As an admin, you can view, modify, and manage the full subscription lifecycle.

Navigate to WaaS → Subscriptions (/wp-admin/admin.php?page=grabwp-tenancy-waas-subscriptions).

Subscriptions list

Subscription Statuses

StatusMeaningTenant site
PendingSignup started, awaiting payment or provisioningNot yet accessible
ActivePayment confirmed, site provisionedFully accessible
SuspendedSubscription cancelled or expired (in grace period)Limited or locked
CancelledPermanently cancelledMay be deactivated

Lifecycle

Pending → Active → (renewal) → Active
→ (cancel) → Suspended (grace period) → Cancelled
→ (expire) → Suspended (grace period) → Cancelled

Viewing Subscriptions

The subscription list shows all subscriptions with:

ColumnDescription
TenantTenant site slug / domain
PlanPlan name (Free, Pro, etc.)
StatusCurrent status badge
ProviderBilling provider (Polar, WooCommerce, etc.)
Billing CycleMonthly / Yearly
Period EndWhen the current billing period ends
CreatedSubscription creation date

Click a subscription to view its details.

Subscription Detail View

Subscription detail

The detail page shows:

  • Status badge — current status with color indicator
  • Plan — which plan the tenant is on
  • Provider — billing provider handling payments
  • Billing Cycle — Monthly or Yearly
  • Period End — when the current period ends / renewal date
  • Provider Subscription ID — reference ID in the billing provider
  • Cancellation status — whether cancellation is scheduled at period end

Admin Actions

Use the action dropdown on the subscription detail page to manage subscriptions:

Extend Period

Extend the current billing period by a number of days. Useful for giving extra time to a customer having issues.

  • Days: 1–365 (default: 30)
  • Reason: Required — document why you're extending

Change Plan

Move a tenant to a different plan.

  • Plan: Select from active plans
  • Reason: Required

Note: This changes the plan immediately. If switching from free to paid (or vice versa), ensure the billing provider subscription is updated separately.

Grant Complimentary

Give a tenant free access to a plan for a set period. Useful for promotions, partnerships, or support gestures.

  • Plan: Select the plan to grant
  • Days: 1–365 (default: 30)
  • Reason: Required

Suspend

Temporarily suspend a tenant's subscription. The tenant site becomes restricted.

  • Reason: Required

Reactivate

Reactivate a suspended subscription. The tenant site becomes fully accessible again.

  • Reason: Required

Add Note

Add an internal note to the subscription's audit trail. Not visible to the tenant.

  • Note: Free-text comment

Audit History

Every action on a subscription is logged in the audit trail at the bottom of the detail page:

ColumnDescription
DateWhen the action occurred
ActionWhat happened (e.g., "Extend Period", "Change Plan")
AdminWho performed the action
DetailsSpecifics (new plan, days extended, etc.)
ReasonWhy the action was taken

Grace Period

When a subscription is cancelled or expires, there is a grace period before the tenant site is suspended.

Configure the grace period in WaaS → Settings → General → Grace Period (days).

SettingDefaultDescription
Grace Period7 days0 = immediate suspension on cancellation

During the grace period:

  • The tenant site remains accessible
  • The tenant owner sees a notice about the upcoming suspension
  • Payment recovery is possible (e.g., updating payment method in Polar)

Automatic Expiry Handling

A daily cron job checks for expired subscriptions:

  1. Subscriptions past their period end date → marked as expired
  2. Expired subscriptions past the grace period → suspended
  3. Suspended subscriptions past a further timeout → cancelled (if configured)

Customer Self-Service

Tenants can manage their own subscription from the dashboard page:

  • Cancel subscription — schedules cancellation at period end
  • Revert cancellation — if they change their mind before period end
  • Upgrade plan — redirects to checkout for the higher plan

Next: S3 Object Storage