source/Core/OnlineLicenseCheck.php
public function validate($serials)
    {
        $serials = (array)$serials;
        $this->setIsException(false);

        $result = false;
        try {
            $request = $this->formRequest($serials);

            $caller = $this->getCaller();
            $response = $caller->doRequest($request);

            $result = $this->validateResponse($response);

            if ($result) {
                $this->logSuccess();
            }
        } catch (\OxidEsales\Eshop\Core\Exception\StandardException $ex) {
            $this->setErrorMessage($ex->getMessage());
            $this->setIsException(true);
        }

        return $result;
    }
public function validate($serials)
    {
        $serials = (array)$serials;
        $this->setIsException(false);

        $result = false;
        try {
            $request = $this->formRequest($serials);

            $caller = $this->getCaller();
            $response = $caller->doRequest($request);

            $result = $this->validateResponse($response);

            if ($result) {
                $this->logSuccess();
            }
        } catch (\OxidEsales\Eshop\Core\Exception\StandardException $ex) {
            $this->setErrorMessage($ex->getMessage());
            $this->setIsException(true);
        }

        return $result;
    }
public function validate ( $ serials ) { $ serials = ( array ) $ serials ; $ this -> setIsException ( false ) ; $ result = false ; try { $ request = $ this -> formRequest ( $ serials ) ; $ caller = $ this -> getCaller ( ) ; $ response = $ caller -> doRequest ( $ request ) ; $ result = $ this -> validateResponse ( $ response ) ; if ( $ result ) { $ this -> logSuccess ( ) ; } } catch ( \ OxidEsales \ Eshop \ Core \ Exception \ StandardException $ ex ) { $ this -> setErrorMessage ( $ ex -> getMessage ( ) ) ; $ this -> setIsException ( true ) ; } return $ result ; }
The Online shop license check is performed. Returns check result.

@param array $serials Serial keys to be checked.

@return bool
The Online shop license check is performed . Returns check result .