Only in a handful of cities and states. There is no federal law requiring businesses to accept cash for goods and services.
But in this case, an emergency, I would assume someone would still know how to take a manual payment receipt!