​Everton have agreed a £27m fee for Cenk Tosun after a breakthrough in negotiations with the striker's current club, Besiktas.

Sam Allardyce has confirmed that the Toffees and their Turkish counterparts thrashed out a deal for the goalscorer on Wednesday evening after a meeting was held to negotiate a price for his signature.

Tosun, who has spent the past few days in London waiting for news on the deal, will now head to Merseyside to finalise personal terms on a supposed four-and-a-half year deal and undergo a medical at ​Everton's USM Finch Farm training complex.

Besiktas club president Fikret Orman had flown into the English capital to meet Everton representatives in a bid to agree a transfer fee that would allow Tosun to move to the ​Premier League side.

Orman had earlier fired a warning shot to the Blues to stump up the correct asking price after Besiktas had rejected a £30m offer from an unnamed Chinese Super League club for his services.

(You may also be interested in ​7 Things to Know About Everton's Potential £25m Arrival Cenk Tosun​)

Now, however, Besiktas' stance appears to have cooled after they opted to accept an offer that's £3m less than that, though the chances are that Everton will pay extra cash in installments or bonuses if and when the time comes.

Sam Allardyce had admitted that the Toffees had done all that they could following his team's 2-0 defeat to ​Manchester United, while director of football Steve Walsh had also flown out to Turkey before the turn of the year to try and get the deal over the line.

Everton now face a race against time to try and register Tosun in time for Friday's FA Cup third round showdown with Merseyside rivals ​Liverpool, with the ​Liverpool Echo reporting that he would need to be registered by noon on Friday to play against the Reds.

Tosun, who marked his final Besiktas appearance with a goal in a 4-1 cup romp, bagged 64 goals in 142 games for the Turkish giants.