rename this method

This commit is contained in:
Dennis
2023-11-20 10:06:19 +01:00
parent b4d35adfb4
commit c625a5c967

View File

@@ -151,7 +151,7 @@ class ProfileBillingController extends Controller
$planId = $plan->stripe_plan_id;
// Only do something if the user is not already subscribed to this plan.
if ($user->subscribedToPlan($planId, 'default')) {
if ($user->subscribedToPrice($planId, 'default')) {
return redirect()->route('profile.billing.index')->with('error', 'You did not select a different plan');
}