Except, if they've already given you the goods -which is the typical workflow in a shop, restaurant etc- then they're legally required to accept your cash, as it's now a settlement for a debt.
[They you never serve you again, but that's a different question 😉]