app/code/community/Adyen/Payment/Helper/Pci.php
protected function _obscureSensitiveKeyValue($key, $value)
    {
        // do not log additionalData in request
        if ($key == "additionalData") {
            $value = "NOT BEING LOGGED FOR SECURITY PURPOSES";
        }

        // Is this a sensitive key with a string or numeric value?
        if (in_array(strtolower($key), self::$_sensitiveDataKeys) && (is_string($value) || is_numeric($value))) {
            $strVal = (string)$value;
            return $this->_obscureString($strVal);
        }

        // Recursively work through the value
        return $this->obscureSensitiveData($value);
    }
protected function _obscureSensitiveKeyValue($key, $value)
    {
        // do not log additionalData in request
        if ($key == "additionalData") {
            $value = "NOT BEING LOGGED FOR SECURITY PURPOSES";
        }

        // Is this a sensitive key with a string or numeric value?
        if (in_array(strtolower($key), self::$_sensitiveDataKeys) && (is_string($value) || is_numeric($value))) {
            $strVal = (string)$value;
            return $this->_obscureString($strVal);
        }

        // Recursively work through the value
        return $this->obscureSensitiveData($value);
    }
protected function _obscureSensitiveKeyValue ( $ key , $ value ) { // do not log additionalData in request if ( $ key == "additionalData" ) { $ value = "NOT BEING LOGGED FOR SECURITY PURPOSES" ; } // Is this a sensitive key with a string or numeric value? if ( in_array ( strtolower ( $ key ) , self :: $ _sensitiveDataKeys ) && ( is_string ( $ value ) || is_numeric ( $ value ) ) ) { $ strVal = ( string ) $ value ; return $ this -> _obscureString ( $ strVal ) ; } // Recursively work through the value return $ this -> obscureSensitiveData ( $ value ) ; }
Return value, obscured if sensitive based on key and value
@param $key
@param $value
@return mixed
Return value obscured if sensitive based on key and value