I think the assumption is they declare only a portion of their cash receipts.
A store that sells $5k electronics is gonna lose a lot of sales if they attempt to save that $150 by only taking cash.
Canada has lots of stores that offer a discount if you pay cash. Many have a minimum purchase amount for credit cards.
One, inertia. Companies haven't realized they're allowed to do it now. That'll change over time.
Two, there are ways to transfer "cash" digitally without paying the credit card fees (i.e. ACH), and there are reasons to want to use digital payments -- making payments over the internet being a major one -- but ACH is ancient and it needs some kind of modern open standard in order to do things like make a payment request and determine in real-time whether the source account actually exists and has sufficient balance to make the payment. Various attempts to do that are constantly being made and constantly being fought against by Visa et al.
If you take cash it means you have to hold it on site. To be insured you have to demonstrate secure handling for the insurer, which would include security systems and limiting the amount in the safe and register. Which means routine trips to the bank, which also incurs costs.
Like...that could all be true, but the rate merchants tried to ditch ever handling physical money rather suggests the fees were worth it (not to mention all the risk mitigation doesn't cover the increased danger to ones personal safety - walking $5000 to the bank is no fun at all).
That’s not true at all, particularly for large purchases.
If I go to an electronics and check out with $5000 in electronics, there’s no way that handling cash incurs the same expense to the store as the 3% fee ($150).
Maybe for nickel and dime purchases, but that’s rarely the case.
Even a $50 dinner doesn’t cost the restaurant $1.50 (plus the $0.30 transaction fee) just to handle cash.