Hi I am calling the CreateTransaction Method as below. as you can see it returns "OK" and "Successful" that's all. I am not able to get the transaction code, authorization, payment, customer etc.,
public void CreateTransaction(long profile_id, long payment_profile_id, decimal amount) { CustomerProfileWS.ProfileTransAuthCaptureType auth_capture = new CustomerProfileWS.ProfileTransAuthCaptureType(); auth_capture.customerProfileId = profile_id; auth_capture.customerPaymentProfileId = payment_profile_id; auth_capture.amount = amount; // 1.00m; auth_capture.order = new CustomerProfileWS.OrderExType();
auth_capture.order.invoiceNumber = "invoice" + DateTime.Now.ToShortTimeString(); CustomerProfileWS.ProfileTransactionType trans = new CustomerProfileWS.ProfileTransactionType(); trans.Item = auth_capture;
CustomerProfileWS.CreateCustomerProfileTransactionResponseType response = SoapAPIUtilities.Service.CreateCustomerProfileTransaction(SoapAPIUtilities.MerchantAuthentication, trans, null);
Console.WriteLine("Response Code: " + response.resultCode);
for (int i = 0; i < response.messages.Length; i++)
{ Console.WriteLine(response.messages[i].text); } }