diff --git a/app/Services/Subscription/SubscriptionService.php b/app/Services/Subscription/SubscriptionService.php index 64b13fa38db3..901b970f0bfb 100644 --- a/app/Services/Subscription/SubscriptionService.php +++ b/app/Services/Subscription/SubscriptionService.php @@ -230,9 +230,9 @@ class SubscriptionService - we then return the user to either a predefined user endpoint, OR we return the user to the recurring invoice page. */ public function startTrial(array $data) - { + {nlog($data); // Redirects from here work just fine. Livewire will respect it. - $client_contact = ClientContact::find($this->decodePrimaryKey($data['contact_id'])); + $client_contact = ClientContact::find($data['contact_id']); if (!$this->subscription->trial_enabled) { return new \Exception("Trials are disabled for this product");