Skip to content

Commit 57f67e2

Browse files
committed
Merge remote-tracking branch 'origin/AC-13520' into spartans_pr_02012025
2 parents c61a6b7 + 4c954cd commit 57f67e2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Sales/Model/ResourceModel/Order/Payment/Transaction.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2011 Adobe
4+
* All rights reserved.
55
*/
66
namespace Magento\Sales\Model\ResourceModel\Order\Payment;
77

@@ -152,7 +152,6 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $transacti
152152
$parentId = (int)$this->_lookupByTxnId($orderId, $paymentId, $parentTxnId, $idFieldName);
153153
if ($parentId && $txnType == 'authorization') {
154154
$transaction->setData('parent_id', $parentId);
155-
$transaction->setData('txn_type', \Magento\Sales\Model\Order\Payment\Transaction::TYPE_CAPTURE);
156155
}
157156
} else {
158157
$result = $this->getParentId($orderId);

0 commit comments

Comments
 (0)