Reply
Highlighted
Member
Posts: 2
Registered: ‎06-02-2013

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

 

Highlighted
Member
Posts: 2
Registered: ‎06-02-2013

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

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

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

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