Lol, sure. That's why they make stores promise to never, ever, under any circumstances make interchange fees visible to customers.
Hiding in the shadows is not the sign of voluntary mutual-benefit value creation, it's the sign of a good hustle that someone is hoping to milk just a little bit more before the Sauron's Eye of public attention turns their way.
But usually only in small individual shops
If I had to guess, it's still forbidden, but small shops don't know/care until the CC company actually asks them to stop.
If people could get a 5% discount everywhere with their debit card, the gig would be up, and the CC companies know it.
Credit card companies would get bowled over in a second if we didn't let them leverage their size into anticompetitive contract terms, but this is America! We love oligopolies, low-competition markets, anticompetitive behavior, and rent-seeking. Freedom, baby!
Card processing companies provide a convenience, for which they charge a fee. If it was such a big deal, businesses would not sign on, and many don’t because it doesn’t work for them.
Enough businesses decide that the extra set of customers they can draw by accepting credit cards is worth the 2.5% processing fee, which is why credit cards still exist. It’s not some kind of extortion racket.
And no, 2.5% is not typical. Maybe Walmart gets 2.5%. I've seen between 4% and 15% in those few instances when the man behind the curtain has been distracted and true rates have snuck past his veil of secrecy.
The entire idea behind credit cards is to reduce friction in commerce resulting from handling cash. This attracts more customers to businesses through increased convenience.
Taking cards is voluntary, there's no "forcing processing fees" involved. Plenty of businesses opt not to take credit cards.
In fact, interchange fees (which in the US now top out around 2.7%, not 3.5%) are at an all-time low because of technology improvements. The first credit cards had a processing fee of 7% (https://www.businessinsider.com.au/history-of-credit-cards-2...).