From 6b21dc132dad607217fe0bebcdda0964b3b74cdb Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 1 Apr 2024 09:40:39 +0200 Subject: [PATCH] Refactor subscription active check for Stripe --- bootstrap/helpers/subscriptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/helpers/subscriptions.php b/bootstrap/helpers/subscriptions.php index 928bbbcaf..5158c4e7e 100644 --- a/bootstrap/helpers/subscriptions.php +++ b/bootstrap/helpers/subscriptions.php @@ -66,7 +66,7 @@ function isSubscriptionActive() // return $subscription->paddle_status === 'active'; // } if (isStripe()) { - return $subscription->stripe_invoice_paid === true && $subscription->stripe_cancel_at_period_end === false; + return $subscription->stripe_invoice_paid === true; } return false; }