The retailer's IT networks were infiltrated by hackers in April, leading to payment problems and shortages of goods in shops.