Yes you do, but you pay as you go through Immigration at the Salvadoran airport.