Cheikhou Kouyate scored twice as West Ham marked the first match at their new home by beating NK Domzale of Slovenia to reach the Europa League play-off round.
Trailing 2-1 from the first leg, the Hammers trailed 2-1 from the firs leg but Kouyate’s strike put them level and his second put West Ham in front.
Sofiane Feghouli added the third to clinch the tie and a place in Friday’s play-off draw where they will join 43 other clubs in Friday’s play-off round draw, which includes 15 losers from the 2016-17 Champions League third qualifying round.