       return callback err  if err
 
       data.accountId = getAccountId client
-      url = "/payments/creditcard/update"
+      url = "#{socialProxyUrl}/payments/creditcard/update"
 
       post url, data, callback
 

          return callback err  if err

          data.accountId = getAccountId client
          url = "/payments/subscribe"

          post url, data, (err, response)->
            callback err, response

    validateParams requiredParams, data, (err)->
      return callback err  if err

      url = "#{socialProxyUrl}/payments/paypal/token"
      get url, data, callback


