     
     
     /**
+    when a network has been identified, the secure code textfield has to adjust its title and maximum number entry to enable the payment
+    
+    - parameter network: the network that has been identified
+    */
+    func updateInputFieldsWithNetwork(network: CardNetwork?) {
+        guard let network = network else { return }
+        self.cardInputField.updateCardLogo()
+        self.secureCodeInputField.cardNetwork = network
+        self.secureCodeInputField.updateCardLogo()
+        self.secureCodeInputField.titleLabel.text = network.securityCodeTitle()
+    }
+    
+    
+    /**
     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
        }
    }
    

    }
    
    public func cardInput(input: CardInputField, didDetectNetwork network: CardNetwork) {
        self.updateInputFieldsWithNetwork(network)
    }
    
    // MARK: DateInputDelegate
