       return @utils.defer => callback null, @countries, @countryOfIp
 
     ip = $.cookie 'clientIPAddress'
-    
+
     JPayment.fetchCountryDataByIp ip, (err, @countries, @countryOfIp) =>
       callback err, @countries, @countryOfIp
 

        JPaymentPlan.fetchAccountDetails callback

  updateBillingInfo: (billingInfo, callback) ->
    
    { JPayment } = KD.remote.api

    JPayment.setBillingInfo billingInfo, (err, result)->
      debugger


  createBillingInfoModal:(type, billingInfo) ->

      else
        JPaymentPlan.setUserAccount newData, callback


  removePaymentMethod: (accountCode) ->
    { JPayment } = KD.remote.api
    JPayment.removePaymentMethod accountCode

  getSubscription: do ->
    findActiveSubscription = (subs, planCode, callback) ->
