Skip to main content

Billing Settings

Go to Super Admin โ†’ Billing โ†’ Payment & Lifecycle.

This page controls which payment gateways tenants can use to subscribe, and the full lifecycle of trial and subscription periods.

Cron required. Trial reminders, expiry emails, and auto-suspension only fire when the cron job is running. Add this to your hosting panel:

* * * * * cd /path/to/leadhub && php artisan schedule:run >> /dev/null 2>&1

Trial & Lifecycleโ€‹

FieldDescription
Default trial length (days)How many days new workspaces get free access. Each plan can override this.
Trial reminder cadenceDays before trial ends to send reminder emails. Enter as a comma-separated list (e.g. 7, 3, 1).
Post-expiry drip cadenceDays after expiry to send recovery emails to lapsed tenants (e.g. 3, 7, 14). Leave empty to disable.
Auto-suspend after (days)Days after expiry before the workspace is automatically suspended. 0 = never auto-suspend.

Enabled Gatewaysโ€‹

Check every gateway you want to offer tenants on the pricing page. A gateway is only displayed when it is both checked here and has its credentials filled in.

GatewayDescription
StripeCard payments. Includes test-mode toggle.
PayPalPayPal checkout. Includes sandbox toggle.
RazorpayPopular in India and South-East Asia.
PaystackPopular in Africa.
Manual Bank TransferDisplays bank details to the tenant for offline payment.

Gateway Credentialsโ€‹

Each gateway has its own tab. Fill in the credentials for every gateway you want to enable.

Stripeโ€‹

FieldWhere to Find It
Publishable KeyStripe Dashboard โ†’ Developers โ†’ API Keys
Secret KeyStripe Dashboard โ†’ Developers โ†’ API Keys
Webhook Signing SecretStripe Dashboard โ†’ Developers โ†’ Webhooks โ†’ your endpoint โ†’ Signing secret
Webhook URLPoint Stripe to: https://yourdomain.com/billing/webhook/stripe
Test ModeToggle on to use Stripe's test environment

PayPalโ€‹

FieldWhere to Find It
Client IDPayPal Developer Dashboard โ†’ My Apps โ†’ your app
Client SecretSame location
Webhook IDPayPal Developer Dashboard โ†’ Webhooks โ†’ your endpoint ID
Webhook URLhttps://yourdomain.com/billing/webhook/paypal
SandboxToggle on to use PayPal Sandbox

Razorpayโ€‹

FieldWhere to Find It
Key IDRazorpay Dashboard โ†’ Settings โ†’ API Keys
Key SecretSame location
Webhook SecretRazorpay Dashboard โ†’ Settings โ†’ Webhooks
Webhook URLhttps://yourdomain.com/billing/webhook/razorpay

Paystackโ€‹

FieldWhere to Find It
Public KeyPaystack Dashboard โ†’ Settings โ†’ API Keys
Secret KeySame location

Manual Bank Transferโ€‹

Fill in your bank name, account name, account number, IBAN, SWIFT/BIC, and any extra instructions. These details are shown to tenants after they select bank transfer at checkout.


  • Plans โ€” set per-plan trial overrides and pricing
  • Coupons โ€” create discount codes for subscriptions
  • Tenant Management โ€” view per-tenant subscription status