Backline Vegas

Billing settings

Backline Vegasmock tenant session
maya@backlinevegas.comowner

SaaS plan

Pro

$1,850/mo

Stripe mode

mock

NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY is not set. Client billing UI remains in safe mock mode.

Current role

owner

Billing management enabled

SaaS subscription billing

Sierra Technology Group bills companies that use RigFlow for setup, hosting, support, and platform access.

Use this when billing a company for RigFlow access

Rental invoice payment links

Each tenant can send hosted payment links to its own rental customers for deposits, balances, and invoices.

Use this when a tenant bills its rental customer

Stripe readiness states

Admins should know whether they are looking at missing configuration, mock verification, a failed Stripe-style response, or a successfully created mock checkout/payment link.

StateAdmin meaning
Missing Stripe env keysThe page shows exactly which keys are absent and keeps all actions in mock mode.
Mock modeButtons call local placeholder APIs and return fake Checkout Session or Payment Link payloads.
Stripe API errorThe verification panel can simulate a failed Stripe response and keep the error visible.
Successful creationSuccessful mock API calls show the generated id, billing track, mode, and redirect URL.

Create rental payment link

Generate a tenant customer payment link for deposits, balances, or one-off rental invoices. This is separate from RigFlow SaaS billing.

Mock mode: Stripe env keys missing

No payment link created yet

Complete the form to generate a safe mock payment link. No live Stripe request is made without keys and future wiring.

CustomerDesert Pulse Festival
Emailbilling@desertpulse.example
Amount$21,400.00
Due / event date2026-05-28

Recent generated invoices

Mock operational records saved by the payment-link API for this tenant.

pending
paid
failed
void
CustomerAmountDue / eventStatusPayment linkActions

Desert Pulse Festival

billing@desertpulse.example

$21,400.002026-05-28pending

https://rigflow-pnetoxzzr-devon-s-projects7.vercel.app/checkout/success?payment_link=plink_mock_inv-1048

plink_mock_inv-1048

TODO: replace the mock in-memory store with Supabase writes and update statuses from Stripe webhook events.

Test-mode verification

Use these safe actions to verify the admin UI can call the billing APIs before real Stripe test keys are added.

6 Stripe env keys missing

Ready for safe verification

Missing keys and mock mode are expected in this public repo. Add test keys locally when live Stripe calls are intentionally enabled.

Mode
mock
Billing track
saas
Result id
Not created yet
Redirect URL
Generated after success

Missing test-mode env keys

STRIPE_SECRET_KEY, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_STARTER, STRIPE_PRICE_PRO, STRIPE_PRICE_ENTERPRISE

SaaS subscription

RigFlow company billing is modeled as a Stripe Checkout subscription with a setup fee and recurring hosting/support. This page stays mock until live Stripe keys and package wiring are intentionally enabled.

Safe mock mode
SettingValueNote
PlanProPlaceholder SaaS subscription plan until Stripe Billing is connected
Setup fee$7,500One-time implementation and launch package
Hosting/support$1,850/moRecurring SaaS subscription
Stripe customercus_backline_vegas_placeholderDemo id only
Payment statusMock activeNo live payment method is stored

Stripe price mapping

Environment price IDs override mock IDs when present. The route handlers still return mock payloads until live Stripe calls are enabled.

PlanSetupMonthlyConfigured price id
Starter$4,500$950/moprice_rigflow_starter_mock
Pro$7,500$1,850/moprice_rigflow_pro_mock
Enterprise$12,500$3,200/moprice_rigflow_enterprise_mock

Billing endpoints

Safe placeholders for SaaS checkout and tenant invoice payments.

ConceptEndpointMock behavior
SaaS checkoutPOST /api/billing/create-checkout-sessionCreates a mock Checkout Session for a RigFlow company subscription.
Rental payment linkPOST /api/invoices/create-payment-linkCreates a mock Payment Link for a tenant customer invoice.
Stripe webhookPOST /api/stripe/webhookAcknowledges Stripe-style events and only mutates mock invoices during explicit webhook tests.

No Stripe secret key is exposed to the browser.

No live Stripe or Supabase writes run from this page or the placeholder APIs.

Billing changes require owner, admin, or manager role.