Describe the bug
When APP_SAAS_MODE_ENABLED=false, the Getting Started page always displays the âConnect with Stripeâ step as incomplete. Clicking it navigates to /account/payment, but the âPayment & Planâ tab is hidden in nonâSaaS mode, so the router ends up at /account/undefined. There is no way to complete or dismiss the step in this mode.
To Reproduce
- Set backend env var
APP_SAAS_MODE_ENABLED=false.
- Deploy and sign in.
- Create an event and open Getting Started:
/manage/event/{eventId}/getting-started.
- Observe the âConnect with Stripeâ card shown as incomplete.
- Click âConnect with Stripeâ â redirected to
/account/payment â UI lands on /account/undefined.
Expected behavior
- When SaaS mode is disabled, the Stripe Connect step should be hidden (or disabled with a clear explanation).
- No navigation to
/account/payment in nonâSaaS mode.
- Getting Started progress should not be blocked by Stripe Connect when SaaS is off.
Screenshots
Desktop (please complete)
- OS: macOS 15
- Browser: Dia 0.47.0 (68786)
Hi.Events Version and platform
- Version: 1.1.0-beta-2 (production deployment)
- Platform: DigitalOcean App Platform
Additional context
Likely UI gating issue.
- Network:
GET /api/accounts returns account JSON without stripe_account_id or stripe_connect_setup_complete when SaaS mode is off.
- Console: No runtime errors; navigation results in
/account/undefined because the âPayment & Planâ tab is conditionally hidden.
- Backend context:
backend/app/Resources/Account/AccountResource.php only includes Stripe fields when config('app.saas_mode_enabled') is true.
- The âPayment & Planâ tab renders only when
account.is_saas_mode_enabled is true, so the route has no matching tab when false.
Proposed fix:
- On Getting Started, render the Stripe card only when
account.is_saas_mode_enabled === true.
- Guard navigation to
/account/payment when SaaS mode is disabled.
- Optional: add an integration test to ensure the card does not render in nonâSaaS mode.
Describe the bug
When
APP_SAAS_MODE_ENABLED=false, the Getting Started page always displays the âConnect with Stripeâ step as incomplete. Clicking it navigates to/account/payment, but the âPayment & Planâ tab is hidden in nonâSaaS mode, so the router ends up at/account/undefined. There is no way to complete or dismiss the step in this mode.To Reproduce
APP_SAAS_MODE_ENABLED=false./manage/event/{eventId}/getting-started./account/paymentâ UI lands on/account/undefined.Expected behavior
/account/paymentin nonâSaaS mode.Screenshots
Desktop (please complete)
Hi.Events Version and platform
Additional context
Likely UI gating issue.
GET /api/accountsreturns account JSON withoutstripe_account_idorstripe_connect_setup_completewhen SaaS mode is off./account/undefinedbecause the âPayment & Planâ tab is conditionally hidden.backend/app/Resources/Account/AccountResource.phponly includes Stripe fields whenconfig('app.saas_mode_enabled')is true.account.is_saas_mode_enabledis true, so the route has no matching tab when false.Proposed fix:
account.is_saas_mode_enabled === true./account/paymentwhen SaaS mode is disabled.