The online shopping surge of the past two years heightened the risk of credit card fraud and drove many merchants to invest more heavily in...