cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

CIM Unlinked Credit, Getting E00014: Profile ID and Payment Profile ID are required.

I am integrating CIM into our system, when I try to create an unlinked credit, I am getting the error E00014 "Customer Profile ID and Customer Payment Profile ID are required."

 

Here is an example of the code I'm using

 

        public void TestUnlinkedCredit()
        {
            ProfileTransactionType transType = new ProfileTransactionType();
            ProfileTransRefundType credit = new ProfileTransRefundType();
            credit.customerProfileId = 18930548;
            credit.customerPaymentProfileId = 17540535;
            credit.amount = 5;
            transType.Item = credit;
            CreateCustomerProfileTransactionResponseType response = Service.CreateCustomerProfileTransaction(MerchantAuthentication, transType, null);
 
            if (response.resultCode == MessageTypeEnum.Error)
            {
                string Error = "";
                foreach (MessagesTypeMessage msg in response.messages)
                    Error += msg.code + ": " + msg.text + "\r\n";
                Console.WriteLine(Error);
                Console.ReadKey();
            }
        }

The same code works for all other transactions

 

amromt
Member
2 REPLIES 2
amromt
Member

I think it only required if you use .net framework.