I think there may be a couple of places the code needs to be updated for this change, for example line 172 in this file (context['storename']) and possibly in the templates as well, if any templates are referring to CreditCardSettings attributes and expecting them to be part of the module.