Index: branches/5.2.x/units/gateways/gw_classes/paybox.php =================================================================== diff -u -N -r15376 -r15568 --- branches/5.2.x/units/gateways/gw_classes/paybox.php (.../paybox.php) (revision 15376) +++ branches/5.2.x/units/gateways/gw_classes/paybox.php (.../paybox.php) (revision 15568) @@ -1,6 +1,6 @@ Application->GetSID().','.MD5($item_data['OrderId']); /*$params['order_id'] = $item_data['OrderId']; - $params['customer_ip_address'] = $_SERVER['REMOTE_ADDR']; + $params['customer_ip_address'] = $this->Application->getClientIp(); $params['customer_id'] = $item_data['PortalUserId'];*/ $billing_email = $item_data['BillingEmail'];