All of them are happy to receive cash or interac (Canadian debit infrastructure) or even e-transfers in some cases (Canadian venmo). But they'll say an extra $1-2 charge if you want to pay by credit card.
Maybe I'm just remembering badly, but I don't remember encountering this twenty years ago; back then the rules were clear that you either didn't accept credit payments, or you did and it was the same price as cash.
Merchant agreements didn't allow surcharges until 2022: https://www.cbc.ca/news/credit-card-surcharge-faq-1.6610356
It also included a number of other valuable consumer protections, such as forcing card issuers to provide clear advance notice of interest-rate increases.
The financial-system reforms were some of the Obama administration's most valuable.
My memory is in accordance with yours
A sensible business owner increases the base price a little to offset card fees instead of bothering customers with these details and losing sales.
Credit-card issuers in the USA are a textbook example of a consumer- and retailer-harming monopoly.