No. Cash is not necessary for shopping in the shopping malls in Dubai. Paying with a credit card is very common in Dubai.