EDF Energy has acknowledged that its customers were caused significant disruption when the firm introduced a new IT system in 2011 and has publicly apologised for this.
Ofgem said that the firm's payment of £3 million to vulnerable customers was a "step in the right direction".
EDF Energy failed to have sufficiently robust processes in place when they introduced a new IT system and this led to the unacceptable handling of complaints.
Their commitment to putting things right and paying £3 million to the Citizens Advice Energy Best Deal Extra scheme and the Plymouth Citizen Advice Bureau's Debt Helpline to benefit vulnerable customers is a step in the right direction to rebuilding consumer trust.
More top news
Labour have lost the Copeland by-election, a seat they had held since 1983, as the Conservatives edged the vote by 2,000 votes.
Labour have held onto the crucial seat of Stoke-on-Trent, brushing aside UKIP leader Paul Nuttall in the process.
A highly toxic chemical was used in the death of North Korean leader Kim Jong-un's half brother last week, tests have shown.