update_credit_account() is something done by order-total modules, not payment modules.
Perhaps you've got some addon order-total modules added and/or customized, which are not functioning properly?