The 26-year-old has joined on a three-and-a-half year contract and his arrival comes 24 hours after the departure of Darren Randolph.

Stojanovic, who is an Austrian-born former Macedonian U21 international, has played in Serie B with Bologna and Crotone before joining St Gallen in the Swiss Super League.

He clocked up over 50 appearances for the club and featured in the UEFA Europa League.

Head Coach Jonathan Woodgate said: “We’re delighted to be able to sign Dejan. With Darren joining West Ham it was important that we added competition for the goalkeepers who are here.”

Stojanovic will link up with his teammates for the first time on Sunday.