A fee and clauses have been agreed between the two clubs.