I’m not a legal expert on this topic but it’s my understanding that you’ve not incurred a debt at the cash register. You just haven’t made any transaction at all.
If the store was extending you credit (ie leave now with the goods and in the future pay us back) they’d be required to accept cash at that point.
If the store was extending you credit (ie leave now with the goods and in the future pay us back) they’d be required to accept cash at that point.