It should be illegal to not accept into your possession a physical object that people will use violence to get from you? Do you know the fear a shift manager has when having to manage an onsite safe? You've seen the armored trucks rolling around transporting the stuff right?
Businesses don't want to accept cash because its a liability and the burden of a card's surcharge just isn't enough of a pain anymore.