Skip to content

Commit

Permalink
MAG-791: transaction mapper fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebanolopes committed Nov 10, 2022
1 parent d570c79 commit ece65a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Model/Payment/AdyenCc/TransactionIdMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getPaymentData(\Magento\Sales\Model\Order $order)
$transactionId = $additionalInfo['pspReference'];
}

$message = 'Transaction ID found on payment mapper: ' . $transactionId;
$message = 'Transaction ID found on payment mapper: ' . (empty($transactionId) ? 'false' : $transactionId);
$this->logger->debug($message, ['entity' => $order]);

if (empty($transactionId)) {
Expand Down
2 changes: 1 addition & 1 deletion Model/Payment/Cybersource/TransactionIdMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getPaymentData(\Magento\Sales\Model\Order $order)
$transactionId = $additionalInfo['transaction_id'];
}

$message = 'Transaction ID found on payment mapper: ' . $transactionId;
$message = 'Transaction ID found on payment mapper: ' . (empty($transactionId) ? 'false' : $transactionId);
$this->logger->debug($message, ['entity' => $order]);

if (empty($transactionId)) {
Expand Down

0 comments on commit ece65a2

Please sign in to comment.