'Set direct to True to indicate that this is being called as a directPayment.
Returns True PayPal successfully creates the profile otherwise False.'

def createRecurringPaymentsProfile(self, params, direct=False):

    defaults = {'method': 'CreateRecurringPaymentsProfile'}
    required = L('profilestartdate    billingperiod    billingfrequency    amt')
    if direct:
        (required + L('creditcardtype    acct    expdate    firstname    lastname'))
    else:
        (required + L('token    payerid'))
    nvp_obj = self._fetch(params, required, defaults)
    return (not nvp_obj.flag)
