I don't have the time for sources at the moment, but I'm pretty sure there are regulations to make it illegal to offer cash discounts in most states, as it helps both credit card processors and tax collection enforcement, it was very easy to lobby for
Edit:
I'm wrong, it's complicated.