Thats not a problem. They pass the payment of these fees to the customers. Ever wonder why the stores give you a discount whenever you pay them in cash? Its not really a discount. Its the real price. You pay more when you use your credit card because it is you who the fees themselves.
don't know where you live but having been on multiple european countries that's not really the case, although many have a minimum purchase amount for paying with cc.
Also if they're giving you a discount when paying with cash its mostly because they're probably not going to register that sale and pay the corresponding tax..