Skip to content

Commit 039ccc9

Browse files
authored
Adding comment on refId field
1 parent 44fc493 commit 039ccc9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

TransactionReporting/get-transaction-details.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ function getTransactionDetails($transactionId)
1515
$merchantAuthentication->setTransactionKey(\SampleCodeConstants::MERCHANT_TRANSACTION_KEY);
1616

1717
// Set the transaction's refId
18+
// The refId is a Merchant-assigned reference ID for the request.
19+
// If included in the request, this value is included in the response.
20+
// This feature might be especially useful for multi-threaded applications.
1821
$refId = 'ref' . time();
1922

2023
$request = new AnetAPI\GetTransactionDetailsRequest();
@@ -43,4 +46,4 @@ function getTransactionDetails($transactionId)
4346

4447
if(!defined('DONT_RUN_SAMPLES'))
4548
getTransactionDetails("2238968786");
46-
?>
49+
?>

0 commit comments

Comments
 (0)