Senegal international Demba Ba has revealed on his personal website that his side Hoffenheim and West Ham have agreed his loan move for six months.
The 25-year-old striker has spent two seasons with Hoffenheim but fell out with the club when he refused to attend a training camp earlier this month.
“I’m really happy that the clubs have reached an agreement,” said Ba.
A proposed £6m move to Stoke fell through when Ba failed a medical after agreeing personal terms.
Ba, who has scored six times for Hoffenheim this season, added: “I was eager to join the club and meet my new team-mates.
“I’d like to thank Hoffenheim for allowing me to join that team.”
The German outfit are still hoping to recruit Liverpool’s Dutch forward Ryan Babel as a replacement for Ba and have agreed a fee, although the player is reported to favour a move to Dutch outfit Ajax.
Take advantage of the January sales by saving up to 36% on a subscription to World Soccer