West Ham were able to sell Payet for a massive profit and to a team that they will never play. I suspect that the club are actually quite pleased with how it all panned out.
I'd agree that he's a better PL player than Murray but not sure I'd want him if he's going to be that petulant. I can certainly understand Ranieri being reluctant to sell to a potential relegation rival.