A correct working ICEPAY module will redirect the customer to a success or error page, never to the shoppingcart page.
Magento must read the ICEPAY merchant URLs (success,error,notify) as it is configured in Magento, if the URL is not the same as the shop URL (for instance an IP address) Magento may have issues parsing the pages. (Typically the customer will get directed to the cart page).