protected function processProcessorResponse($response)
    {
        $statusCode = isset($response->StatusCode)
                    ? (string)$response->StatusCode
                    : null;

        if ($statusCode == null || $statusCode == 'Y') {
            return;
        }

        throw new HpsException((string)$response->ErrorDesc);
    }
protected function processProcessorResponse($response)
    {
        $statusCode = isset($response->StatusCode)
                    ? (string)$response->StatusCode
                    : null;

        if ($statusCode == null || $statusCode == 'Y') {
            return;
        }

        throw new HpsException((string)$response->ErrorDesc);
    }
protected function processProcessorResponse ( $ response ) { $ statusCode = isset ( $ response -> StatusCode ) ? ( string ) $ response -> StatusCode : null ; if ( $ statusCode == null || $ statusCode == 'Y' ) { return ; } throw new HpsException ( ( string ) $ response -> ErrorDesc ) ; }
Processes the response from MasterPass

@param object $response response from Cardinal

@return null
@throws \HpsException
Processes the response from MasterPass