cancel
Showing results for 
Search instead for 
Did you mean: 

E00041 One or more fields in the profile must contain a value when creating a customer profile

I'm making a SOAP call to create a customer profile. I have copied the sample SOAP request from https://api.authorize.net/soap/v1/Service.asmx?op=CreateCustomerProfile.

 

And I have given my API login ID and transaction key. Below is my SOAP request message.

 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateCustomerProfile xmlns="https://api.authorize.net/soap/v1/">
<merchantAuthentication>
<name>jCre.getApiLoginId()</name>
<transactionKey>jCre.getTransactionKey()</transactionKey>
</merchantAuthentication>
<profile>
<paymentProfiles>
<CustomerPaymentProfileType>
<customerType>individual</customerType>
<payment>
<creditCard>
<cardNumber>4111111111111111</cardNumber>
<expirationDate>2020-12</expirationDate>
</creditCard>
</payment>
</CustomerPaymentProfileType>
</paymentProfiles>
<shipToList>
<CustomerAddressType>
</CustomerAddressType>
</shipToList>
</profile>
<validationMode>liveMode</validationMode>
</CreateCustomerProfile>
</soap:Body>
</soap:Envelope>

 

Every time I execute, I'm getting a HTTP response with an error code E00041. Please suggest what am I missing.

altinaveen
Member
1 REPLY 1

RaynorC1emen7
Expert