As cities around the world shut down, retail businesses closed doors and people stayed indoors, digital payments became a lifeline.