Tolls are electronic only in my state.
One gas station gives a 10 cent per gallon cash discount. Drug dealers and other criminals take cash only, or sometimes barter.
Taking cash is the least favorite part of my job, but a few people cannot be approved for a credit line and some can't even get a credit card or debit card. I wish we had self-checkout and a robot could deal with the money.
Some contractors take cash or credit only but if you have an emergency they can have you make a card payment on their account at their supply house.