The competition is high with online ordering (which accepts cards), so the incentive is to not lose customers. in fact people have become so desperate for more sales that they would let you take something and pay later but not lose you as a customer.
I was talking about small businesses like restaurants which generally used to accept credit card even before UPI. Now very few accept credit cards.
Even before UPI credit cards were common accepted online. So I am not sure about that as well.