That is not true: https://www.lawpay.com/about/blog/credit-card-surcharge-rule...
It used to be true, but this changed many years ago.