In Australia the government put in legislation to cap the maximum credit card surcharge that a merchant could charge the customer to the actual fee that they pay on the card.
When I was there I remember things like $10 or $20 minimum and also anywhere up to 5-10% surcharge for paying with a card.