EU actually mandates the opposite. It is illegal to pass the transaction costs to the consumer. The price you see on an item has the be the final price you end up paying.
One influence in the setting of this rule was that payment card processors had been throwing their weight around requiring that merchants not pass on cost, which was fairly clearly an abuse of their position of power. (For most in-person business, which was largely what was being dealt with at the time, cash is essentially costless, and so for some small businesses being forced to swallow payment card fees was genuinely an unreasonable burden.)
Charging me as the end user more money because I have a "Premium" card would be a very fast way for me to not shop with you.