But if they made it clear at the time of ordering that they didn’t accept cash, then a customer who orders knowing that’s the only payment medium they have would presumably be the one breaching the contract when they weren’t able to pay? I guess the remedy to that would be to create a debt, but I’d also presume that could also include any other damages incurred by the coffee vendor for facilitating the cash payment.
Or until they cancel the transaction.
If you order the coffee, they say “okay that’ll be $2.87”, and you try to pay with cash, they can cancel the order. Poof, no debt.
Now if they drop the check at your table after you’ve enjoyed the cup of coffee, it’s different IMO.