West Ham co-owner David Sullivan claims only a medical is standing in the way of Alex Song completing a permanent move to Upton Park.
The Barcelona midfielder spent the entire 2014/15 season on loan with the Hammers, who are very much interested in bringing him back to east London on a full-time basis.
Song has been hampered by an ankle injury since July and is only expected to make a full recovery in October, but the capital club are pursuing a deal for the 27-year-old nonetheless.
Sullivan has revealed an agreement is in place to sign the former Cameroon international and that he just needs to pass a medical.
Speaking to the club's fan website 'Knees Up Mother Brown', he said: "We have a deal in place with Alex Song, subject to a medical, and, if the medical is okay, we'll take him.
"He's a player we all admire and we just hope that the medical shows he's in a sufficient state for us to gamble.
"He couldn't physically pass a medical tomorrow, but if the medics say it's just a technical thing and he's only a couple of weeks away you'd take that gamble and hope they're right.
"He's still got two years left on his Barcelona contract and you're signing a player on a three-year contract, so it's a huge commitment. He's a big earner, Alex.
"He's injured at the moment, which is something you've got to weight up. But we've got until September 1 to make a decision."
Hammers boss Slaven Bilic does not foresee problems with Song successfully navigating his medical, saying: "We would like to get him. It's down to the medical.
"We are really confident he is going to pass the medical. We've got a lot of positive comments or details about his improvement.
"That kind of injury is not a big injury. Eight to 10 weeks until it's sorted, but once it's sorted it's done."