Sometimes they deliberately take detours to increase the total amount you'll have to pay! You can pay in cash or by card (if the taxi has a card device). You may pay extra if you take the taxi at night, if you have additional luggage (each additional bag can be charged at 1€) or there's more than 1 passenger.