private function isValidHookHash($privateKey)
    {
        $confirmationHash = hash('sha256', $privateKey.$this->hookAction.$this->hookDate);

        return ($this->hookHash === $confirmationHash);
    }
private function isValidHookHash($privateKey)
    {
        $confirmationHash = hash('sha256', $privateKey.$this->hookAction.$this->hookDate);

        return ($this->hookHash === $confirmationHash);
    }
private function isValidHookHash ( $ privateKey ) { $ confirmationHash = hash ( 'sha256' , $ privateKey . $ this -> hookAction . $ this -> hookDate ) ; return ( $ this -> hookHash === $ confirmationHash ) ; }
Validates the request hash using the client private key
@param  string  $privateKey
@return boolean
Validates the request hash using the client private key