     }
     
     public func cardInput(input: CardInputField, didDetectNetwork network: CardNetwork) {
-        self.cardInputField.updateCardLogo()
-        self.secureCodeInputField.cardNetwork = network
-        self.secureCodeInputField.updateCardLogo()
-        self.secureCodeInputField.titleLabel.text = network.securityCodeTitle()
-        self.toggleStartDateVisibility(network == .Maestro)
+        self.updateInputFieldsWithNetwork(network)
     }
     
     // MARK: DateInputDelegate

    
    
    /**
    Helper method to enable the payment after all fields have been validated and entered
    
    - parameter enabled: pass true to enable the payment buttons

            let expiryDate = cardDetails.formattedEndDate() {
                self.cardInputField.textField.text = formattedLastFour
                self.expiryDateInputField.textField.text = expiryDate
                self.updateInputFieldsWithNetwork(cardDetails.cardNetwork)
        }
    }
    
