Index: branches/5.2.x/units/gateways/gw_classes/ideal_nl.php =================================================================== diff -u -N -r13845 -r14099 --- branches/5.2.x/units/gateways/gw_classes/ideal_nl.php (.../ideal_nl.php) (revision 13845) +++ branches/5.2.x/units/gateways/gw_classes/ideal_nl.php (.../ideal_nl.php) (revision 14099) @@ -1,6 +1,6 @@ Application->StoreVar('gw_success_template',$tag_params['return_template']); $this->Application->StoreVar('gw_cancel_template',$tag_params['cancel_template']); - $banks_query = $gw_params['request_url'].'?a=banklist'; + $curl_helper =& $this->Application->recallObject('CurlHelper'); + /* @var $curl_helper kCurlHelper */ + + $banks = $curl_helper->Send($gw_params['request_url'].'?a=banklist'); - $banks = curl_post($banks_query, null, null, 'GET'); - $parser =& $this->Application->recallObject('kXMLHelper'); /* @var $parser kXMLHelper */ $bank_data =& $parser->Parse($banks); @@ -83,8 +84,12 @@ $fields['returnurl'] = $this->getNotificationUrl() . '?order_id='.$item_data['OrderId']; $fields['reporturl'] = $this->getNotificationUrl() . '?mode=report&order_id='.$item_data['OrderId']; - $transaction_xml = curl_post($gw_params['request_url'], $fields, null, 'GET'); + $curl_helper =& $this->Application->recallObject('CurlHelper'); + /* @var $curl_helper kCurlHelper */ + $curl_helper->SetRequestData($fields); + $transaction_xml = $curl_helper->Send($gw_params['request_url']); + $parser =& $this->Application->recallObject('kXMLHelper'); /* @var $parser kXMLHelper */ $trans_data =& $parser->Parse($transaction_xml); @@ -124,7 +129,12 @@ $fields['transaction_id'] = $this->Application->GetVar('transaction_id'); $fields['bank_id'] = $this->Application->GetVar('ideal_nl_bank_id'); - $check_xml = curl_post($gw_params['request_url'], $fields, null, 'GET'); + $curl_helper =& $this->Application->recallObject('CurlHelper'); + /* @var $curl_helper kCurlHelper */ + + $curl_helper->SetRequestData($fields); + $check_xml = $curl_helper->Send($gw_params['request_url']); + $parser =& $this->Application->recallObject('kXMLHelper'); /* @var $parser kXMLHelper */ $trans_data =& $parser->Parse($check_xml);