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.