 
     { userQuantity, resourceQuantity } = options.planOptions
 
-    if "custom-plan" in options.plan.tags
+    if 'custom-plan' in options.plan.tags
       unless userQuantity or resourceQuantity
-        return callback "User and resource quantities not specified"
+        return callback 'User and resource quantities not specified'
 
       options.feeAmount = calculateCustomPlanUnitAmount userQuantity, resourceQuantity
 
     subscribeToPlan.call this, client, options, callback
+
+

JResourcePlan = require './resourceplan'
JPaymentPack  = require './pack'
JPaymentFulfillmentNonce = require './nonce'

      { plan, userQuantity } = calcOptions

      unless 'custom-plan' in plan.tags
        return callback new KodingError 'This plan is not tagged with "custom-plan"'

      queue = [
        =>
          @fetchProductCode plan, 'group', (err, productCode) ->
            return callback err  if err

            quantities[productCode] = plan.quantities[productCode]
