cancel
Showing results for 
Search instead for 
Did you mean: 

CIM - CreateCustomerProfile fails to create profile

I'm new to CIM and when I try to execute CreateCustomerProfile it always comes back with null values and ID of 0; no profile is created. Here's a snippet. Can anyone tell me what I'm doing wrong? I appreciate the help!

 

           Service srv = new Service();
            MerchantAuthenticationType mt = new MerchantAuthenticationType();
            CustomerProfileType pt = new CustomerProfileType();
            CreateCustomerProfileResponseType pr = new CreateCustomerProfileResponseType();
           
            mt.name = "xxxxxxx";
            mt.transactionKey = "xxxxxxxxxxxx";
            pt.description = "Test Account";
            pt.email = "test@email.com";
            pt.merchantCustomerId = "1001";

            pr = srv.CreateCustomerProfile(mt, pt, ValidationModeEnum.liveMode);

 

abunten
Member
1 REPLY 1

Check the response resultCode and messages for why it is not working.

RaynorC1emen7
Expert