Index: branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php =================================================================== diff -u -N -r13845 -r14099 --- branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php (.../sella_guestpay.php) (revision 13845) +++ branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php (.../sella_guestpay.php) (revision 14099) @@ -1,6 +1,6 @@ Application->recallObject('CurlHelper'); + /* @var $curl_helper kCurlHelper */ + $res = $curl_helper->Send($url); + preg_match('/#cryptstring#(.*)#\/cryptstring#/', $res, $matches); $b = $matches[1]; @@ -89,7 +92,10 @@ $b = $_REQUEST['b']; $url = 'https://ecomm.sella.it/CryptHTTPS/Decrypt.asp?a='.$a.'&b='.$b.'&c=2.0'; - $ret = curl_post($url, array(), null, 'GET'); + $curl_helper =& $this->Application->recallObject('CurlHelper'); + /* @var $curl_helper kCurlHelper */ + + $ret = $curl_helper->Send($url); $result = $this->parseGWResponce($ret); list ($sid, $auth_code) = explode(',', $result['CUSTOM_INFO']);