There are a lot of industries where this is the case. Most physical retail stores for example.
A 3% charge from the credit card company is just as bad as 3% inflation. If the charge can be avoided it would be in the interest of the merchant and the customer to do so.