cancel
Showing results for 
Search instead for 
Did you mean: 

Downloading Line Items

We can pull transaction details using AuthorizeNetTD, but these do not include the line items (itemized).

 

How are these downloaded?

foundation406
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Which methods did you use to get the transaction? lineitems only return in getTransactionDetails method

View solution in original post

RaynorC1emen7
Expert
3 REPLIES 3

Which methods did you use to get the transaction? lineitems only return in getTransactionDetails method

RaynorC1emen7
Expert

With the goal of producing a csv data file (not even close yet), we are calling:

Using require_once "/anet_php_sdk/AuthorizeNet.php";

 

//'TRANSACTIONS FOR DAY;
$request = new AuthorizeNetTD;
$response = $request->getTransactionsForDay(10,08,2014); //MM,DD,YYYY

 

Getting the transactions for the day, I'm guessing I would load transactionIDs into an array and loop through itehm using getTransactionDetails

 

//'TRANSACTION DETAILS<br>';
$transId = '6559957920';
$response = $request->getTransactionDetails($transId);
print_r($response);

 

I now see the line item details.  Thanks!

 

What I need to do now is loop through (the XML?) and create a data file, pulling out specific fields.  Would you happen to know where some sample code is?  I've not worked too much with XML.  Our goal is to just produce a data file by running this PHP page.

Downloading Items is exceptionally urgent and troublesome and there are just restricted sources that give us downloading details in any case, there is a valid source.

Hytmer
Member