Although some taxi drivers might be able to accept your credit card to pay for the ride, others will not and therefore you should have sufficient Euros in cash that you can use for payment.