Barclays is expected to pay millions in compensation for recent IT outages which prevented customers from banking.