Index: branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php =================================================================== diff -u -N -r15141 -r15376 --- branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php (.../sella_guestpay.php) (revision 15141) +++ branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php (.../sella_guestpay.php) (revision 15376) @@ -1,6 +1,6 @@ Send($url); - $result = $this->parseGWResponce($ret); + $result = $this->parseGWResponce($ret, $gw_params); list ($sid, $auth_code) = explode(',', $result['CUSTOM_INFO']); $session = $this->Application->recallObject('Session'); @@ -123,7 +123,7 @@ return $result['PAY1_TRANSACTIONRESULT'] == 'OK' ? 1 : 0; } - function parseGWResponce($str) + function parseGWResponce($str, $gw_params) { if (preg_match('/#decryptstring#(.*)#\/decryptstring#/', $str, $matches)) { $separator = '*P1*';