Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/MAG-791' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ebanolopes committed Dec 8, 2022
2 parents b41f4bc + ece65a2 commit 91212f3
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 91212f3

Please sign in to comment.