all customer from pargar fixing 3
This commit is contained in:
@@ -400,6 +400,10 @@ class CustomerController extends SuperController
|
||||
|
||||
public function cardChecker(Request $request){
|
||||
|
||||
if (!app(ConfigService::class)->isJibitEnabled()) {
|
||||
throw new UnprocessableEntityHttpException('سرویس احراز هویت جیبیت غیرفعال است.');
|
||||
}
|
||||
|
||||
if (strlen($request->cart_number) != 16) {
|
||||
throw new UnprocessableEntityHttpException('شماره کارت اشتباه میباشد.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user