Finally ran into this, the local Jack in Box is refusing all cash transactions, cards only.
Walk away and go where they will accept cash. That's what I do. To make it really inconvenient for the businesses that have signage saying they will not accept cash, place the order anyway and when they ask you to swipe a card cancel the order. The inconvenience of the time wasted will catch the management eye because most canceled transactions require a manager to authorize it. I ran into that at a Burger King and they accepted my cash instead of canceling the order.
One thing that I was thinking about trying was to write a check for the amount and see what happens. Most businesses around here require a manager to approve a check. The inconvenience to the customers and staff might just turn some of this shit around. Remember, it is us that have the power. Without our purchases the business dies. It is a peaceful revolt against those that are trying to control us. Don't just acquiesce to the elite that are trying to control us.