I think we only care about the presentation of fees to consumers assessed separately from the advertised price. Countless costs of doing business (and markup) are built into the advertised price. At least it is very simple for the consumer to compare prices.
A per-transaction credit card fee doesn't raise the unit price. Getting hung up on the evolving details of gas stations and credit card processing isn't the point.