Merchants can forward the fees they pay onto you. And, in fact, some definitely do. So cash/debit card price would be X, credit card price might be X + 1% or X + 3 EUR or whatever. Others just refuse to accept credit cards: Direct debit or cash only.