src/Gateways/ZapakPayGateway.php
public function response($request)
    {
        $response = $request->all();
        $rcvd_checksum = $request->checksum;

        $rcvd_data = $this->getAllResponseParams($response);
        $checksum_check = $this->verifyChecksum($rcvd_checksum,$rcvd_data,$this->secret);

        if(!$checksum_check){
            return "Recieved Checksum Mismatch.";
        }

        $this->response = $response;

        return $this->response;
    }
public function response($request)
    {
        $response = $request->all();
        $rcvd_checksum = $request->checksum;

        $rcvd_data = $this->getAllResponseParams($response);
        $checksum_check = $this->verifyChecksum($rcvd_checksum,$rcvd_data,$this->secret);

        if(!$checksum_check){
            return "Recieved Checksum Mismatch.";
        }

        $this->response = $response;

        return $this->response;
    }
Check Response
@param $request
@return array