Sales rose 5.8 percent this year, with gains both online and in stores. “Consumers are indeed out there shopping,” Mastercard’s chief economist said.