Exemple #1
0
def new_profile():
    profile = Profile(merchant_id=merchant_id,
                      username=username,
                      password=password)
    profile.name = "Test User"
    profile.address1 = "101 Main St."
    profile.address2 = "Apt. 4"
    profile.city = "New York"
    profile.state = "NY"
    profile.zipCode = "10012"
    profile.email = "*****@*****.**"
    profile.phone = "9089089080"
    profile.cc_num = "4788250000028291"
    profile.cc_expiry = "1116"
    return profile
Exemple #2
0
def new_profile():
    profile = Profile(merchant_id=merchant_id, 
        username=username,
        password=password
    )
    profile.name = "Test User"
    profile.address1 = "101 Main St."
    profile.address2 = "Apt. 4"
    profile.city = "New York"
    profile.state = "NY"
    profile.zipCode = "10012"
    profile.email = "*****@*****.**"
    profile.phone = "9089089080"
    profile.cc_num = "4788250000028291"
    profile.cc_expiry = "1116"
    return profile