No, the rules regarding the acceptance of cash might vary from one place to another, and they are often up to the discretion of the individual shop manager.