The France international previously said he didn't want to play for the Premier League club
West Ham's Dimitri Payet is set to return to his former club Olympique de Marseille, after a £25m fee for the player was agreed between the clubs.
The France international had expressed his desire to leave the Premier League side earlier this month, and refused to play for them, according to Hammers boss Slaven Bilic.
Marseille previously submitted two bids for Payet, which West Ham rejected and Bilic insisted that Payet would not be sold. The winger signed a contract extension in early 2016, keeping him at the London club until 2021.
It's reported that Payet accepted a pay cut to his weekly wage in order to help with the contract negotiations. He was also forced to train away from the first team, while the dispute over his future carried on.
A statement on West Ham's Twitter page reads:
The 29-year-old first came to West Ham from the French club in 2015, for £10.7m. He scored 12 goals in 38 appearances in his first season, as well as earning a nomination for the PFA Players' Player of the Year award.
After helping France to reach the final of Euro 2016, Payet has scored just three goals for West Ham this season.