Brentford have been told to pay Walsall an initial fee of £325,000 for Will Grigg by a Football League tribunal.
The striker who made 109 appearances and scored 28 goals for the Saddlers after coming through their youth system moved in the summer after turning down a new deal.
Walsall will also receive £30,000 for every 20 competitive matches that the 22-year-old forward features in, up to a maximum of 100 and 20 per cent of any future transfer fee.
Brentford will also have to pay £50,000 if promoted to the Championship and £250,000 if they reach the Premier League during Grigg’s time at Griffin Park.
The Bees were forced to pay a fee for Grigg even though he was out of contract because he was under 24 – and the clubs could not agree on terms.
The Northern Ireland international has scored 2 goals in 6 appearances for his new club.
Brentford chief executive Mark Devlin said: “We thank the panel for their time on Wednesday and for giving us a fair hearing.
“We are glad that a decision has been reached and Will can now go back to concentrating on his football.”