lib/AktiveMerchant/Billing/Gateways/ePDQ.php
private function optionsFrom($response)
    {
        $options = array();
        $options['authorization'] = $response['transaction_id'];
        $options['test'] = empty($response['mode']) || $response['mode'] != 'P';
        $options['fraud_review'] = in_array($response['return_code'], $this->FRAUDULENT);

        if (!empty($response['cvv2_resp'])) {
            $options['cvv_result'] = $this->CVV_RESPONSE_MAPPINGS[$response['cvv2_resp']];
        }
        $options['avs_result'] = $this->avsCodeFrom($response);
    }
private function optionsFrom($response)
    {
        $options = array();
        $options['authorization'] = $response['transaction_id'];
        $options['test'] = empty($response['mode']) || $response['mode'] != 'P';
        $options['fraud_review'] = in_array($response['return_code'], $this->FRAUDULENT);

        if (!empty($response['cvv2_resp'])) {
            $options['cvv_result'] = $this->CVV_RESPONSE_MAPPINGS[$response['cvv2_resp']];
        }
        $options['avs_result'] = $this->avsCodeFrom($response);
    }
private function optionsFrom ( $ response ) { $ options = array ( ) ; $ options [ 'authorization' ] = $ response [ 'transaction_id' ] ; $ options [ 'test' ] = empty ( $ response [ 'mode' ] ) || $ response [ 'mode' ] != 'P' ; $ options [ 'fraud_review' ] = in_array ( $ response [ 'return_code' ] , $ this -> FRAUDULENT ) ; if ( ! empty ( $ response [ 'cvv2_resp' ] ) ) { $ options [ 'cvv_result' ] = $ this -> CVV_RESPONSE_MAPPINGS [ $ response [ 'cvv2_resp' ] ] ; } $ options [ 'avs_result' ] = $ this -> avsCodeFrom ( $ response ) ; }
Options from Response

@param array
Options from Response