cancel
Showing results for 
Search instead for 
Did you mean: 

GetTransactionDetails method

var gate = newAuthorizeNet.ReportingGateway("<loginid>", "<key>", AuthorizeNet.ServiceMode.Live); 

var details = gate.GetTransactionDetails(<transID>);

Response.Write(details.LineItems.Count.ToString());

 

The code above returns zero for all transaction ids.

 

Any idea?

Mic345_
Member
3 REPLIES 3

It work for me on 1.5.0 c# sample/SDK.

Are you sure your transactions have lineItem detail?

 

 

RaynorC1emen7
Expert

shouldn't every transaction have line items?

It optional data. It there only if you set it when you create the transaction.