Skip to content

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.

lol

Andras Bacsai143e4e0d23bd
diff --git a/routes/webhooks.php b/routes/webhooks.php
index 2274ea0b3a..e6a6a0af90 100644
--- a/routes/webhooks.php
+++ b/routes/webhooks.php
@@ -284,7 +284,7 @@ Route::post('/payments/stripe/events', function () {
$customerId = data_get($data, 'customer');
$subscription = Subscription::where('stripe_customer_id', $customerId)->first();
if (!$subscription) {
- Sleep::for(5)->minutes();
+ Sleep::for(5)->seconds();
$subscription = Subscription::where('stripe_customer_id', $customerId)->firstOrFail();
}
$planId = data_get($data, 'lines.data.0.plan.id');