 
     @on 'CreditCardUpdateFailed', KD.showError
     @on 'CreditCardUpdateSucceeded', @bound 'handleSuccess'
+    @on 'GotValidationResult', @bound 'handleValidationResult'
 
     { cardNumber } = @form.inputs
 

    @addSubView @submitButton = new KDButtonView
      style    : 'solid medium green'
      title    : 'UPDATE'
      loader   : yes
      cssClass : 'submit-btn'
      callback : => @emit 'CreditCardSubmitted', @form.getData()

    options.title    = 'Update Payment Method'
    options.subtitle = ''

    @isInputValidMap = {}

    super options, data


  observeForm: PaymentForm::observeForm
  handleFormInputValidation: PaymentForm::handleFormInputValidation
  handleValidationResult: PaymentForm::handleValidationResult

  initViews: ->

    @addSubView @form = new StripeFormView {
      callback : @lazyBound 'emit', 'CreditCardSubmitted'
    }

    @observeForm()

    @addSubView @successMessage = new KDCustomHTMLView
      cssClass : 'success-msg hidden'
