我正在做一个带有支付网关集成的codeigniter网站 . 我希望通过cURL将详细信息发送到PG网址 . 我从https://github.com/philsturgeon/codeigniter-curl安装了cURL库,然后加载了库 . 当我处理请求时,我收到错误**

消息:constant():无法找到常量CURLOPT_IVP_METHOD

**这是我的控制器

public function payment()
     {
        $ivp_amount=$this->input->post('ivp_amount');
        $params = array(
'ivp_method' => 'create',
'ivp_store' => 'aaa',
'ivp_authkey' => '1212121212',
'ivp_cart' => '1994',
'ivp_test' => '1',
'ivp_amount' => $ivp_amount,
'ivp_currency' => 'AED',
'ivp_desc' => 'Product Description',
'return_auth' => 'http://aaaaaaaa.com/',
);
        // $fields_string = http_build_query($params);
$data=$this->curl->post("https://secure.telr.com/gateway/order.json", $params); 
echo json_encode($data);

     }

如何纠正这个问题 .