The price is the same if you use cash or card. Really, after reward points, card tends to be even cheaper.
Visa/Mastercard/BNPL/Klarna etc. all have negotiated discounts for consumers, paid for by the merchant.
I'm skeptical that merchants would lower prices (stepping away from $x.98, etc) instead of pocketing the higher margins themselves.