Guide for panel 0.4.0a86 · Updated 14 November 2026

Configure rental payments

This module lets a host receive customer payments into its own Stripe and/or PayPal account. Configure it under Administration → Hosting → Plans & subscriptions. It is independent of the publisher's panel-license billing.

The page separates Subscriptions, Plans, Payment setup and Activity. A persistent banner identifies test/live mode and whether rental billing is enabled. Filter Subscriptions by customer; create or edit packages under Plans. Configure providers under Payment setup. The publisher’s software license is instead under System → Panel license.

Plan the offering

Plans grant account server allowances. Use a separate monthly and annual plan for each slot package. Decide RAM enforcement separately under RAM controls. Do not sell capacity before configuring a suitable host budget.

The module supports one current subscription per account. It does not stack add-on subscriptions or perform in-place plan-switch checkout. Supported plan terms are fixed positive monthly/annual prices; trials, setup fees, finite installments, metered usage and customer-selected quantities are not part of the reviewed plan contract.

Configure in test mode first

  1. Open Payment setup and enter this panel's public HTTPS root address.
  2. Select Sandbox / test.
  3. Save mode-appropriate credentials and webhook configuration.
  4. Enable the desired provider for new subscriptions.
  5. Create provider products/prices and add verified local plans.
  6. Enable rental billing and enroll a restricted test member, or test the public signup path.
  7. Test payment, allowance, callback return, refresh, cancellation and uncertain-order recovery before going live.

A saved blank credential field normally retains that mode's existing secret. Test and live credentials, IDs, plans and orders are separate. Provider enable switches and the main billing enable switch serve different purposes; review each label.

Stripe: product and recurring prices

In your Stripe account, confirm the selected environment is test or live as intended. Open Product catalog, create a rental product and add a recurring monthly price. Add an annual price if offered. Copy each Price ID, beginning price_; a product ID is not interchangeable.

In API keys, create a secret or restricted API key for the matching mode. Supported prefixes are sk_test_, rk_test_, sk_live_ and rk_live_. A pk_ publishable key cannot authenticate this server integration. Copy keys using Stripe's copy control, without trailing characters or spaces.

Restricted keys need read access for Prices, Checkout Sessions, Subscriptions and Invoices, plus write access for Checkout Sessions and Customer Portal sessions. Review permissions for the actual integration rather than granting unrelated sensitive operations.

Stripe webhook

Open Stripe's developer Workbench → Webhooks, then Add destination. Dashboard menus can move; the dashboard search can find Workbench or Webhooks. Choose events for your account and the correct test/live environment.

Use the exact address shown by Rental billing:

https://panel.example.com/webhooks/rentals/test/stripe
https://panel.example.com/webhooks/rentals/live/stripe

Select these events:

checkout.session.completed
checkout.session.async_payment_succeeded
checkout.session.async_payment_failed
checkout.session.expired
customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
invoice.paid
invoice.payment_failed

Save the destination's signing secret, beginning whsec_, in the matching Stripe webhook field. It is neither the API key nor publishable key. Configure Stripe's Customer Portal for payment methods and cancellation, without external plan switching unsupported by the panel. The module explicitly uses Stripe API version 2025-03-31.basil.

PayPal: app, products and plans

Use your PayPal Business account. In its Developer Dashboard select Sandbox or Live, create/select an app, and save its Client ID and Secret in the panel. Sandbox buyers must use a separate sandbox personal account; a merchant cannot pay itself.

Create the subscription product and an active fixed-price plan in PayPal's subscriptions tools where available, or its Billing Plans API. A product alone does not grant a recurring plan. Plan IDs begin P-. Monthly and annual terms need separate plans.

Use one unlimited REGULAR cycle, every one month or every one year, with no trial/setup fee or selectable quantity. Match amount, currency and interval to the local/Stripe plan. Use the intended tax settings consistently. You do not need to embed PayPal's generated button code: the panel initiates hosted checkout from the saved plan ID. Optional static return/cancel URLs can remain blank; the panel supplies its own checkout return flow.

PayPal webhook

Under the same mode's app, create a webhook using the address shown by Rental billing:

https://panel.example.com/webhooks/rentals/test/paypal
https://panel.example.com/webhooks/rentals/live/paypal

Subscribe to:

BILLING.SUBSCRIPTION.ACTIVATED
BILLING.SUBSCRIPTION.UPDATED
BILLING.SUBSCRIPTION.CANCELLED
BILLING.SUBSCRIPTION.SUSPENDED
BILLING.SUBSCRIPTION.EXPIRED
BILLING.SUBSCRIPTION.PAYMENT.FAILED
PAYMENT.SALE.COMPLETED

Save the webhook ID in the PayPal field. PayPal does not use Stripe's whsec_ secret format here. Confirm the webhook belongs to the app/account/mode supplying your plan.

Add and edit panel plans

Under Account plans, enter a display name, server allowance and Stripe Price ID and/or PayPal Plan ID, then Verify prices and add plan. Provider lookups establish amount, currency and interval. Two providers on one local plan must match.

Use Edit plan → Verify and save changes to correct names or attach another matching provider later. Blank an ID to disable that provider for new purchases, retaining at least one. Existing orders keep their purchased terms.

Price, currency, interval and server allowance are fixed for a saved plan. Create a replacement for changed commercial terms. Hide incorrect/retired plans. Delete unused plan is available only for a hidden plan with no checkout or subscription history; provider products/prices are not deleted by it.

Move to live payments

Create/confirm live products, recurring prices, apps and webhooks. Enter live credentials and live IDs under Live payments. Test objects do not become live objects by changing the panel's mode selector.

Verify the price and merchant identity on a live checkout before authorizing payment. Live testing can charge real money; use a separate legitimate payer and handle any refund/cancellation in the provider dashboard. Keep webhook delivery enabled for existing subscriptions even if new purchases are disabled.

Automation and operator responsibilities

Stripe/PayPal charge recurring payments. The panel verifies notifications and refresh lookups before granting paid capacity. A checkout return alone is not proof. PayPal ACTIVE alone also needs a confirmed positive payment under the supported terms.

Hosts configure plans, credentials, tax/provider settings, customer permissions, RAM capacity, grace periods and business policies. Hosts handle disputes, refunds and exceptional subscription changes. Turning billing off or removing enrollment does not cancel provider billing. Publicly registered unpaid accounts do not become unlimited through those switches.

A pending checkout can hold the customer's choices and capacity. Refresh/cancel first. For a missing PayPal reference, use the administrator's Review missing PayPal checkout only after checking that exact account, mode and subscription reference. A generic 404, auth failure or wrong mode is not authorization to release a real subscription.

Publish packages on your own panel homepage

Use Panel homepage for live package links. Active live plans appear only with enabled live billing, a complete provider and enabled verified signup/SMTP using the same canonical public panel URL. The editor shows readiness warnings. Homepage package descriptions/recommendations are marketing content; billing remains the source of price, period and allowances.

New public signups are automatically enrolled with zero paid capacity until a verified payment. Existing manually managed members keep their administrator policies/caps. A visitor choosing a plan does not itself create a payment or server. After a domain change, review public URLs, webhook addresses and provider callbacks before accepting new purchases.