• File: PaymentKyc.php
  • Full Path: /var/www/imaliapitest/app/Classes/PaymentKyc.php
  • Date Modified: 05/19/2025 4:29 PM
  • File size: 423 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace App\Classes;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;

class PaymentKyc
{
    public function checkPaymentApp(Request $request)
    {
        if ($request->pin != "" || $request->pin != null) {

            if (!Hash::check($request->pin, $request->user()->pin)) {
                return response()->json(['message' => trans('wrong_pin')], 400);
            }

        }

    }
}