the best thing is to boycott places that don't accept cash, or to not pay and let them sue you, because legal tender is legal tender.
the forced use of electronic payments will curtail personal freedoms even more, don't let businesses and governments do that to you.