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);
    }