public function getResponseReasonCode()
    {
        $responseCode = null;
        if (isset($this->data['directResponse'])) {
            $directResponse = explode(',', (string)$this->data['directResponse']);
            $responseCode = $directResponse[2];
        }

        return $responseCode;
    }
public function getResponseReasonCode()
    {
        $responseCode = null;
        if (isset($this->data['directResponse'])) {
            $directResponse = explode(',', (string)$this->data['directResponse']);
            $responseCode = $directResponse[2];
        }

        return $responseCode;
    }
public function getResponseReasonCode ( ) { $ responseCode = null ; if ( isset ( $ this -> data [ 'directResponse' ] ) ) { $ directResponse = explode ( ',' , ( string ) $ this -> data [ 'directResponse' ] ) ; $ responseCode = $ directResponse [ 2 ] ; } return $ responseCode ; }
A reason code is the a part of the "directResponse" attribute returned by Authorize.net. This is the third
element within the "directResponse" attribute which is a CSV string.
A reason code is the a part of the directResponse attribute returned by Authorize . net . This is the third element within the directResponse attribute which is a CSV string .