West Ham have finally allowed Payet to join Marseille in the ligue 1 for £25M after a long negotiations. Payet made his intentions known to the club early this month that he no longer wished to play for them. 

Payet signing his Marseille contract

The manager was livid and disappointed at his behavior in his press conference that weekend and Payet was demoted to the under 23 team. 
The club Co-chairman David Sullivan reiterated the club disappointment with Payet behavior whom they recently rewarded with a new improved contract worth £125,000 a week in the official statement of the club about his departure.

He said  ‘The club would like to place on record its sincere disappointment that Dimitri Payet did not show the same commitment and respect to West Ham United that the club and fans showed him, particularly when it rewarded him with a lucrative new five-and-half-year deal only last year.

‘I would like to make it clear that we have no financial need to sell our best players and that the decision to allow Payet to leave was in accordance with the wishes of the manager and the interests of squad unity. To be frank, my Board and I would have preferred for him to have stayed in order to make an example of him, as no player is bigger than the club. 
‘I am confident that with the quality of the players we have brought in during January already, the squad will be stronger at the end of this transfer window than it was at the start. 
‘We now look forward to building on our recent good run of form with five league wins in the last seven matches as we focus on continuing our rise up the Premier League table.’  
Meanwhile, West Ham wasted no time on bringing Payet replacement.  They have completed the signing of Robert Snodgrass from Hull City for £10M.