The Hammers have been searching for a new striker after David De Michele and Diego Tristan left the club during the summer.
Franco was also being closely linked with a move to Argentine side Estudiantes.
The Mexican will join the Hammers for free as his contract with Villarreal expired at the end of last season.