This question already has an answer here:
I am a stateless person but I am a resident of Uzbekistan. I am going to visit Bulgaria on the 16th of August this year. Unfortunately there is no direct flight to Bulgaria so I have to fly through Istanbul. In this connection do I need a Turkey transit visa if I only stay in Turkish International Airports for not more than 3 hours waiting for my next connecting flight? If so, how long will consider my deal? And how can I speed up the process of getting transit visa? Can I get the visa in the airport? How much will it cost?