In Bali, having cash seriously matters, because the island is not that card-friendly. Yes, there are places that accept credit card payments but, chances are that they charge you a hefty fee for the convenience.
Some places do not accept credit card payments at all, and this is why it is always good to have some cash in your wallet when travelling or shopping in Bali.