Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
At stores, people say 現金で and クレジットカードで all the time. 紙幣で(支払う) makes sense as a Japanese sentence but that's not what people usually want to say at stores.