You arrive in a new city and plan on taking a taxi cab from the airport or from your hotel. And you plan on paying by credit card. While most taxis in major cities can accept credit cards, a lot of the drivers don't like taking them and will tell you, at your destination, that you have to pay cash.
So, if you really want to use that credit card tell the driver how you'll be paying BEFORE you get into the cab. If the driver tells you that you'll need to pay in cash, grab another cab.