diff --git a/app/Http/Controllers/TeamBillingController.php b/app/Http/Controllers/TeamBillingController.php index 2f54dd2..212c164 100644 --- a/app/Http/Controllers/TeamBillingController.php +++ b/app/Http/Controllers/TeamBillingController.php @@ -16,6 +16,9 @@ public function show(Team $team, Request $request) $customer = $team->createAsCustomer(); $subscription = $team->subscription(); + if (! $subscription?->valid()) { + $subscription = null; + } $nextPayment = $subscription?->nextPayment();