Crystal Palace have signed Barnsley goalkeeper Scott Flinders on a three-year contract.
The England Under-20 international will move to Selhurst Park for a fee which could rise to £1m depending on the number of appearance he makes.
Flinders, 20, came through the ranks at Barnsley and made his debut for the Oakwell side in March 2005