An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(billing): Restrict Stripe subscription status update to 'active' only
Andras Bacsai31698032595d
diff --git a/app/Console/Commands/CloudCleanupSubscriptions.php b/app/Console/Commands/CloudCleanupSubscriptions.phpindex 9dc6e24f57..ab676c9278 100644--- a/app/Console/Commands/CloudCleanupSubscriptions.php+++ b/app/Console/Commands/CloudCleanupSubscriptions.php@@ -50,7 +50,7 @@ class CloudCleanupSubscriptions extends Command} else {$subscription = $stripe->subscriptions->retrieve(data_get($team, 'subscription.stripe_subscription_id'), []);$status = data_get($subscription, 'status');- if ($status === 'active' || $status === 'past_due') {+ if ($status === 'active') {$team->subscription->update(['stripe_invoice_paid' => true,'stripe_trial_already_ended' => false,