It's illegal to not accept cash. If they won't accept your money you can just walk out the store with everything. When someone says you owe X amount, you offer them legal tender and they refuse it, they refuse your debt and there for It's paid in full. That's the way of the law.