In some countries it is illegal to charge different prices based on which payment method is used.
Here in Italy for example there is a lot of discussion around this topic now that most stores are legally bound to accept digital payments but cannot charge a different price if you pay with card instead of cash.