From 307e4a6990ebe2157eb26ecf37d9632dc51a5f89 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Sep 2023 20:42:12 +0200 Subject: [PATCH] fix: collect billing address --- app/Http/Livewire/Subscription/PricingPlans.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/Subscription/PricingPlans.php b/app/Http/Livewire/Subscription/PricingPlans.php index 9e26e3b9d..77c550d1e 100644 --- a/app/Http/Livewire/Subscription/PricingPlans.php +++ b/app/Http/Livewire/Subscription/PricingPlans.php @@ -44,6 +44,7 @@ class PricingPlans extends Component return; } $payload = [ + 'billing_address_collection' => 'required', 'client_reference_id' => auth()->user()->id . ':' . currentTeam()->id, 'line_items' => [[ 'price' => $priceId,