Refactor subscription handling logic in middleware and model

This commit is contained in:
Andras Bacsai
2024-02-23 13:50:48 +01:00
parent f78fd212bb
commit 3b942049a2
2 changed files with 1 additions and 2 deletions

View File

@@ -54,7 +54,6 @@ class Subscription extends Model
};
})->first();
if ($stripePlanId) {
raY($stripePlanId);
return str($stripePlanId)->after('stripe_price_id_')->before('_')->lower();
}
}