From a18b4ffd0f4422b7520b07e924269c3ba6e31fc6 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sat, 13 Apr 2024 14:57:11 +0200 Subject: [PATCH] Add allow_promotion_codes option to subscribeStripe method --- app/Livewire/Subscription/PricingPlans.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Livewire/Subscription/PricingPlans.php b/app/Livewire/Subscription/PricingPlans.php index 4e4dbadee..dddfa3a80 100644 --- a/app/Livewire/Subscription/PricingPlans.php +++ b/app/Livewire/Subscription/PricingPlans.php @@ -54,6 +54,7 @@ class PricingPlans extends Component return; } $payload = [ + 'allow_promotion_codes' => true, 'billing_address_collection' => 'required', 'client_reference_id' => auth()->user()->id . ':' . currentTeam()->id, 'line_items' => [[