Retailers can now add checkout fees to customers' bills thanks to a legal settlement with Visa and MasterCard.