We're currently living a pandemic and a lot of stores aren't accepting cash because they're wanting to avoid transfer of germs. I'm even observing hand sanitizer being rightfully used after needing to examine ID.
Small, eccentric indie and mom and pop stores might be super strict about that. IDK, I just paid for drive through food with cash a couple hours ago, so I sorta feel like this particular dystopian scenario is not quite here yet.