diff --git a/app/Http/Controllers/User/OrderController.php b/app/Http/Controllers/User/OrderController.php index 2bae19b5..78c4b1b2 100755 --- a/app/Http/Controllers/User/OrderController.php +++ b/app/Http/Controllers/User/OrderController.php @@ -85,7 +85,7 @@ class OrderController extends Controller abort(500, __('Subscription plan does not exist')); } - if (!$planService->haveCapacity() && $request->input('period') !== 'reset_price') { + if ($user->plan_id !== $plan->id && !$planService->haveCapacity() && $request->input('period') !== 'reset_price') { abort(500, __('Current product is sold out')); }