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
06-02-2013 08:28 AM
I found the solution
but why isn't this in the docs?
06-02-2013 08:43 AM
I think it only required if you use .net framework.
06-02-2013 01:15 PM