     @confirmForm = @createConfirmForm()
     @addSubView @confirmForm
 
+    @confirmForm.on 'PaymentConfirmed', @bound 'processPayment'
+
     @setState 'vm type'

    else
      return new KDNotificationView
        title : "You are not authorized to create VMs in #{group} group"

    form = new KDFormViewWithFields
      callback              : (formData) =>

      when 'confirm'
        confirmData = @getAggregatedData()
        confirmData.billingInfo = @currentMethod
        confirmData.planInfo = @currentPlan
        @confirmForm.setData confirmData
        @confirmForm.show()

  createConfirmForm: -> new BuyVmConfirmView

  processPayment: (data) ->
    debugger

  viewAppended: ->
    super

