The Hammers did manage to sign Sampdoria midfielder Pedro Obiang earlier today, with the Spanish midfielder penning a four-year deal at Upton Park to become Slaven Bilic's first signing.
The Croatian manager, 46, arrived on Tuesday as Sam Allardyce's replacement in the Upton Park dugout, with West Ham hoping to improve on this past season's 12th place finish.
However, Bilic could have made it two signings today, with West Ham's bid to sign Marseille forward Ayew failing at the last minute due to a big offer from Premier League rivals Swansea.
Ayew, 25, today signed a deal with Swansea until 2019 after his Marseille contract expired, as confirmed on the Swans' official website, with the Ghanaian international providing Garry Monk another attacking weapon having scored goals in France.
Yet, Ayew could have been heading to East London rather than South Wales, with West Ham seemingly in place to sign the winger before Swansea offered him a £70,000-a-week deal, according to The Telegraph.
This changed the course of Ayew's future as he instead moved to the Liberty Stadium this afternoon, leaving West Ham to go back to the drawing board in their search of quality in the final third.