Source/SimpleTransaction.php
public function processResponse($resp = '')
    {
        preg_match_all("/<EPAYMENT>(.*?)<\/EPAYMENT>/", $resp, $matches);
        $data = explode("|", $matches[1][0]);
        if (is_array($data)) {
            if (count($data) > 0) {
                $counter = 1;
                foreach ($data as $dataValue) {
                    $this->debugMessage[] = 'EPAYMENT_ELEMENT_' . $counter .': ' . $dataValue;
                    $counter++;
                }
            }
        }
        return $this->nameData($data);
    }
public function processResponse($resp = '')
    {
        preg_match_all("/<EPAYMENT>(.*?)<\/EPAYMENT>/", $resp, $matches);
        $data = explode("|", $matches[1][0]);
        if (is_array($data)) {
            if (count($data) > 0) {
                $counter = 1;
                foreach ($data as $dataValue) {
                    $this->debugMessage[] = 'EPAYMENT_ELEMENT_' . $counter .': ' . $dataValue;
                    $counter++;
                }
            }
        }
        return $this->nameData($data);
    }
public function processResponse ( $ resp = '' ) { preg_match_all ( "/<EPAYMENT>(.*?)<\/EPAYMENT>/" , $ resp , $ matches ) ; $ data = explode ( "|" , $ matches [ 1 ] [ 0 ] ) ; if ( is_array ( $ data ) ) { if ( count ( $ data ) > 0 ) { $ counter = 1 ; foreach ( $ data as $ dataValue ) { $ this -> debugMessage [ ] = 'EPAYMENT_ELEMENT_' . $ counter . ': ' . $ dataValue ; $ counter ++ ; } } } return $ this -> nameData ( $ data ) ; }
Finds and processes validation response from HTTP response

@param string $resp HTTP response

@return array Data
Finds and processes validation response from HTTP response