Even ignoring legal issues, for practical purposes society has accepted cash as the way to do trade. Everybody has cash (credit cards and checks are a proxy for cash) Thus a supermarket that doesn't accept cash is going to have problems selling anything because most people won't really know.