Refactor subscription active check for Stripe
This commit is contained in:
parent
7aca4930db
commit
6b21dc132d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user