Not sure why you are being downvoted.
I guess depends what you would have said...
Either way, in the US you can just remind them they are legally obligated to take cash. Put down the cash, snap a picture and leave.
If they call police, allow them to explain to a government official how they refused to accept the legal tender in this here country 🐸
I generally don't advise schooling staff but this one is disrepect of liberty, and I don't care, they can get fucked for being a bootlicker.
Shit is disgusting, your preference on my payment method is not a thing and you are beyond out of line with such behavior. Freedom ain't free folks