   preparePaymentMethods: (formData) ->
     @setState 'billing choice'
 
-    paymentField = @paymentMethodChoiceForm.fields['Payment method']
+    paymentField = @choiceForm.fields['Payment method']
 
     paymentController = KD.getSingleton 'paymentController'
 

          callback          : =>
            @setState 'billing entry'

  createPaymentMethodEntryForm: ->

    form = new BillingForm

    paymentController = KD.getSingleton 'paymentController'
    paymentController.observePaymentSave form, (err, { accountCode }) =>
      @addAggregateData { accountCode }
      @setState 'confirm'

    form

  hideAllForms: ->
    @vmTypeForm.hide()
    @paymentMethodChoiceForm.hide()
    @paymentMethodEntryForm.hide()
    @confirmForm.hide()

  setState: (state) ->
    @hideAllForms()
    switch state
      when 'vm type'          then @vmTypeForm.show()
      when 'billing choice'   then @paymentMethodChoiceForm.show()
      when 'billing entry'    then @paymentMethodEntryForm.show()
      when 'confirm'
        @confirmForm.setData @getAggregatedData()
        @confirmForm.show()

    @vmTypeForm = @createVmTypeForm()
    @addSubView @vmTypeForm

    @choiceForm = @createChoiceForm()
    @addSubView @choiceForm

    @entryForm = @createEntryForm()
    @addSubView @entryForm

    @confirmForm = @createConfirmForm()
    @addSubView @confirmForm
