Without any info, my guess is problem with assets not being compiled. Open up a dev console and tell us what's written there.
May 28, 2021
1
Level 7
Spark Billing - White Screen
Hi all, after going through the Laravel Spark installation and configuration (Stripe) setup, I get a white screen when accessing the /billing URL. I searched around here and StackOverflow for any solutions, but most I came across were either a much older version of Laravel or another product like voyager.
I have tried going through the code again but cannot find any issues, and nothing is being printed in the log.
I have used expose to expose my application and set that up in stripe.
config/spark
<?php
use App\Models\User;
return [
'path' => 'billing',
'middleware' => ['web', 'auth'],
'brand' => [
'logo' => realpath(__DIR__.'/../public/img/logo.png'),
'color' => 'bg-indigo-800',
],
'prorates' => true,
'terms_url' => '/terms',
'billables' => [
'user' => [
'model' => User::class,
'trial_days' => 5,
'plans' => [
[
'name' => 'Hobby',
'short_description' => 'This is a short, human friendly description of the plan.',
'monthly_id' => 'price_token',
'yearly_id' => 'price_token',
'features' => [
'Feature 1',
'Feature 2',
'Feature 3',
],
'archived' => false,
],
[
'name' => 'Intermediate',
'short_description' => 'This is a short, human friendly description of the plan.',
'monthly_id' => 'price_token',
'yearly_id' => 'price_token',
'features' => [
'Feature 1',
'Feature 2',
'Feature 3',
],
'archived' => false,
],
],
],
],
];
Please or to participate in this conversation.