Add complete billing system with Stripe and PayPal gateway support,
checkout flow with coupon validation, subscription management
(cancel/resume/swap), payment method management, invoice and
transaction history, webhook handlers, dunning/suspension system
with scheduled processing, and 29 new tests (53 total passing).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add redirectGuestsTo in bootstrap/app.php so unauthenticated users
always redirect to the full account login URL instead of a relative
/login that would 404 on the admin subdomain or loop
- Create HandleInertiaRequests middleware to share auth.user, flash
messages, and domain config to all Vue pages (was entirely missing)
- Add Profile nav link in AppLayout, "Customer View" link in AdminLayout
- Point logout to account subdomain where Fortify routes live
- Link AuthLayout logo back to marketing site
- Fix Marketing/Home links to use full account subdomain URLs
- Update RoleBasedAccessTest to match new redirect URL
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>