     planInterval : PaymentWorkflow.planInterval.MONTH
     planTitle    : PaymentWorkflow.planTitle.HOBBYIST
     provider     : PaymentWorkflow.provider.KODING
-    isUpgrade    : yes
+    isUpgrade    : PaymentWorkflow.operation.UPGRADE
 
 
   constructor: (options = {}, data) ->


    { currentPlan, planTitle } = @state

    isUpgrade = PaymentWorkflow.isUpgrade currentPlan, planTitle

    if isUpgrade
      @setTitle 'Congratulations! Upgrade successful.'
      @setSubtitle 'Your account has been upgraded to the plan below.'
    else
      @setTitle 'Downgrade complete.'
      @setSubtitle ''

    @form.showSuccess isUpgrade

    @once 'KDModalViewDestroyed', =>
      @emit 'PaymentWorkflowFinished', @state


    @state = KD.utils.extend @getInitialState(), state

    operation = PaymentWorkflow.isUpgrade @state.currentPlan, @state.planTitle

    console.log {operation}

    options.title = switch operation
      when PaymentWorkflow.operation.UPGRADE then 'Upgrades are awesome. Let\'s do this!'
      when PaymentWorkflow.operation.INTERVAL_CHANGE then 'Change your billing cycle'
      when PaymentWorkflow.operation.DOWNGRADE then 'Downgrade your plan'

    options.subtitle = ''

    super options, data


  initViews: ->

    { provider, planTitle } = @state
    { PAYPAL } = PaymentWorkflow.provider
    { FREE }   = PaymentWorkflow.planTitle

