Skip to content
WasFor
Back to home
Documentation/Admin panel

Packages & orders

Packages define what a customer can use; orders define what they pay. Both live in the admin panel and feed the licensing center and the customer panel.

Package anatomy

FieldExampleEffect
NameBusinessShown in panel and invoices
Disk50 GBHard quota on files and databases
Websites25Maximum sites per account
Databases50Maximum databases
Mailboxes100Maximum mailboxes
Traffic1 TB / monthSoft limit with alert, then throttle
PHP versions8.1–8.3Allowed runtimes
BackupsDaily, 14 daysSchedule and retention
FeaturesSSH, Git deploy, APIFeature flags per package

Feature flags are enforced server-side: hiding a menu item is cosmetic, the API rejects the operation when the package lacks the flag.

Create a package

  1. Packages → Create package.
  2. Set limits and feature flags.
  3. Set the price, currency and billing cycle.
  4. Choose visibility: public, hidden or reseller-only.
  5. Save and preview the customer-facing plan card.

Prices are stored in minor units to avoid floating-point drift:

json
{
  "name": "Business",
  "price_cents": 2900,
  "currency": "USD",
  "cycle": "monthly",
  "limits": { "disk_gb": 50, "sites": 25, "databases": 50, "mailboxes": 100 }
}

Orders lifecycle

text
Pending → Paid → Provisioning → Active → Renewal → Cancelled
                     └── Failed (retry or refund)
StatusMeaningOperator action
PendingAwaiting paymentSend reminder or cancel
PaidPayment capturedNone
ProvisioningAccount being createdWatch for failures
ActiveServingSupport
FailedProvisioning errorRetry or refund
CancelledEndedConfirm data retention

Renewals are generated ahead of expiry and retried on a schedule. A failed renewal suspends the account after the grace period rather than deleting it.

Invoices and refunds

Invoices list line items, tax and the payment reference. Refunds are issued against the original payment method where possible:

  1. Orders → order → Refund.
  2. Choose full or partial.
  3. Enter a reason — it appears in the audit log and the customer email.
  4. Confirm; the gateway response is stored with the invoice.

Refunds do not automatically delete an account. Decide separately whether to suspend, downgrade or close it.

Proration

When a customer changes package mid-cycle, the panel prorates by day:

text
Unused: 12 days of Business at 29.00 / 30 = 11.60 credit
New:    12 days of Pro at 59.00 / 30      = 23.60 charge
Invoice: 12.00 due today

Proration rules are configurable per currency under Settings → Billing. Document the policy in your terms so customers can predict the charge.

Resellers

A reseller buys at wholesale and sells at their own price.

SettingMeaning
Wholesale priceWhat the reseller pays you
MarginReseller markup, hidden from customers
White-labelCustom brand and panel domain
Sub-accountsAccounts the reseller can create

Reseller accounts see only their own customers. Platform staff can see everything, and every cross-tenant action is audited.

Coupons and trials

  • Coupons apply a percentage or fixed discount for a limited time or number of uses.
  • Trials create an active account with an expiry date and no invoice.
  • Both are scoped to a package and can be limited to first-time customers.

Reporting

The orders screen reports revenue by period, package, currency and reseller. Export includes invoice identifiers so finance can reconcile against the payment gateway. Keep the export retention aligned with your accounting requirements.

Last updated: 2026-12-01