Skip to content

Commit 48eb9cf

Browse files
Update mercanet to use authorizationId for trxn_id, since no better field recommends itself
1 parent 2cb965f commit 48eb9cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vendor/fuzion/omnipay-mercanet/src/Message/OffsiteCompleteAuthorizeResponse.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ public function isSuccessful()
2929
/**
3030
* Check response for a transaction reference.
3131
*
32-
* This is generated by the supplier.
33-
*
3432
* @return string|null
3533
*/
3634
public function getTransactionReference()
3735
{
38-
return isset($this->data['s10TransactionId']) ? $this->data['s10TransactionId'] : null;
36+
return isset($this->data['authorizationId']) ? $this->data['authorizationId'] : null;
3937
}
4038

4139
/**

0 commit comments

Comments
 (0)