The only issue with that is that, 1. It only works with Exxon/Mobile/Esso stations. 2. It requires the gas stations computer system to be working to complete transactions.
I ran into that problem up in New York State when I was snowmobiling. A snow storm had knocked out the phone/data service in the area. Everybody had power, so they could still provide goods and services, but all transactions had to be done in cash. It was like that for a good three days, which really would have screwed us if I was only relying on credit/debit cards.
When I'm traveling I always carry cash to buy enough gas and sammiches to get home. But I keep it in my wallet, not in my car or in a pill fob.