mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 20:15:36 +00:00
Refactor subscription active check for Stripe
This commit is contained in:
1 parent
7aca4930db
commit
6b21dc132d
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user