Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 14
Registered: ‎07-06-2011

gate.GetTransactionDetails doesn't return description

[ Edited ]

Using anet_dotnet_sdk-1.5.0 in C# VS 2008 Pro, all sources loaded into solution

using the Transaction Details API 

Modified the QuickStart SampleReporting application

 

var gate = new ReportingGateway("myid", "mykey", ServiceMode.Live);

DateTime to = DateTime.Today;           

DateTime from = DateTime.Today.AddDays(-7);           

var transactions = gate.GetTransactionList(from, to);

foreach (var trans in transactions) {               

var detail = gate.GetTransactionDetails(trans.TransactionID);

etc

 

Which does return most of the transaction details.

For example, trans id, amount, submit/settle dates, names, address, etc. 

So far I've not yet found any property with a description of what was bought.

For us, this is kind of huge. 

So I have one for US$60, settled authcapture, no line items, no description 
What I;m wondering is, is the data in the XML response and has been overlooked by the sdk code,

or is the description data not being returned at all? 

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: gate.GetTransactionDetails doesn't return description

Hey there,

 

It looks like this is the same bug you reported here. I've passed in on to our development team so they can check it out.

 

Thanks,

 

Michelle

Developer Community Manager

Contributor
Posts: 14
Registered: ‎07-06-2011

Re: gate.GetTransactionDetails doesn't return description

LineItems also AWOL.

 

Actually quite a few items are missing in the 1.5 SDK compared to the raw XML response.

 

K

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: gate.GetTransactionDetails doesn't return description

Hey there,

 

I apologize for the delay in getting back to you. There is a test specifically for this:

 

[Test]
public void Reporting_Gateway_Should_Transaction_LineItems() { var gate = new ReportingGateway("9Pa9qXE6m", "9eMxA663T9Y6xuyv"); var response = gate.GetSettledBatchList(); var first = response.First(); var list = gate.GetTransactionList(first.ID); var transID = list.First().TransactionID; var details = gate.GetTransactionDetails(transID); details.LineItems.Count.ShouldBeGreaterThan(0); }

 

If you're still not seeing the items, let us know.

 

Thanks,

 

Michelle

Developer Community Manager