AuthorizeNetTD

Extends \AuthorizeNetRequest

A class to send a request to the Transaction Details XML API.

package

AuthorizeNet

subpackage

AuthorizeNetTD

Methods

This function returns information about a settled batch: Batch ID, Settlement Time, & Settlement State. If you specify includeStatistics, you also receive batch statistics by payment type.

getSettledBatchList(bool $includeStatistics = false, string $firstSettlementDate = false, string $lastSettlementDate = false, bool $utc = true) : \AuthorizeNetTD_Response

The detault date range is one day (the previous 24 hour period). The maximum date range is 31 days. The merchant time zone is taken into consideration when calculating the batch date range, unless the Z is specified in the first and last settlement date

Arguments

$includeStatistics

bool

$firstSettlementDate

string

// yyyy-mmddTHH:MM:SS

$lastSettlementDate

string

// yyyy-mmddTHH:MM:SS

$utc

bool

// Use UTC instead of merchant time zone setting

Response

\AuthorizeNetTD_Response

Return all settled batches for a certain month.

getSettledBatchListForMonth(int $month = false, int $year = false) : \AuthorizeNetTD_Response

Arguments

$month

int

$year

int

Response

\AuthorizeNetTD_Response

This function returns limited transaction details for a specified batch ID

getTransactionList(int $batchId) : \AuthorizeNetTD_Response

Arguments

$batchId

int

Response

\AuthorizeNetTD_Response

Return all transactions for a certain day.

getTransactionsForDay(int $month = false, int $day = false, int $year = false) : array

Arguments

$month

int

$day

int

$year

int

Response

array

Array of SimpleXMLElments

This function returns full transaction details for a specified transaction ID.

getTransactionDetails(int $transId) : \AuthorizeNetTD_Response

Arguments

$transId

int

Response

\AuthorizeNetTD_Response

This function returns statistics about the settled batch specified by $batchId.

getBatchStatistics(int $batchId) : \AuthorizeNetTD_Response

Arguments

$batchId

int

Response

\AuthorizeNetTD_Response

This function returns the last 1000 unsettled transactions.

getUnsettledTransactionList() : \AuthorizeNetTD_Response

_getPostUrl

_getPostUrl() : string

Response

string

_handleResponse

_handleResponse(string $response) : \AuthorizeNetTransactionDetails_Response

Arguments

$response

string

Response

\AuthorizeNetTransactionDetails_Response

Prepare the XML post string.

_setPostString() 

Start the SimpleXMLElement that will be posted.

_constructXml(string $request_type) 

Arguments

$request_type

string

The action to be performed.

Constructor.

__construct(string $api_login_id = false, string $transaction_key = false) 
inherited

Arguments

$api_login_id

string

The Merchant's API Login ID.

$transaction_key

string

The Merchant's Transaction Key.

Alter the gateway url.

setSandbox(bool $bool) 
inherited

Arguments

$bool

bool

Use the Sandbox.

Set a log file.

setLogFile(string $filepath) 
inherited

Arguments

$filepath

string

Path to log file.

Return the post string.

getPostString() : string
inherited

Response

string

Posts the request to AuthorizeNet & returns response.

_sendRequest() : \AuthorizeNetARB_Response
inherited

Response

\AuthorizeNetARB_Response

The response.

Constants

LIVE_URL

LIVE_URL

SANDBOX_URL

SANDBOX_URL

Properties

_xml

_xml

_transaction_key

_transaction_key
inherited

_post_string

_post_string
inherited

VERIFY_PEER

VERIFY_PEER
inherited

_sandbox

_sandbox
inherited

_log_file

_log_file
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited