From 5e0007764e82a9c2a9a91ac8304760e010b0b46b Mon Sep 17 00:00:00 2001 From: Peter Papp Date: Mon, 10 May 2021 08:07:41 +0200 Subject: [PATCH] Stripe get plans fix --- app/Services/StripeService.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/Services/StripeService.php b/app/Services/StripeService.php index ad977b65..eb75e719 100644 --- a/app/Services/StripeService.php +++ b/app/Services/StripeService.php @@ -197,7 +197,9 @@ class StripeService public function getPlans() { // Get stripe plans - $stripe_plans = $this->stripe->plans()->all(); + $stripe_plans = $this->stripe->plans()->all([ + 'limit' => 100, + ]); // Plans container $plans = []; @@ -226,7 +228,9 @@ class StripeService public function getActivePlans() { // Get stripe plans - $stripe_plans = $this->stripe->plans()->all(); + $stripe_plans = $this->stripe->plans()->all([ + 'limit' => 100, + ]); // Plans container $plans = [];