       success: (data) =>
         @oldTotal(@total())
         @advanceWizard(5)
+
+  loadExistingCard: () =>
+    $.getJSON '/api/v1/user/pay/card', (data) =>
+      @cardInfo data.card
+
+  loadInvoices: () =>
+    $.getJSON '/api/v1/user/pay/invoices', (data) =>
+      @invoices data.invoices
 
 
   loadPlans: () =>


  loadStripe: () =>
    $.getScript "https://js.stripe.com/v1/"

  loadExistingPlans: () =>
    $.getJSON '/api/v1/user/existing-plans', (data) =>
      @cardInfo(data.card_info)
      @oldTotal(data.amount / 100)
      @chosenPlan(new CI.inner.Plan(data.plan)) if data.plan
      @concurrency(data.concurrency or 1)

  observables: =>
    stripeToken: null
    cardInfo: null
    invoices: []

    # old data
    oldPlan: null
