Skip to content

Commit 976e7a1

Browse files
AC-10042::/V1/transactions REST API returns error when parent_txn_id = txn_id
1 parent 95679df commit 976e7a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function _construct()
3434
/**
3535
* Update transactions in database using provided transaction as parent for them
3636
*
37-
* have to repeat the business logic to avoid accidental injection of wrong transactions
37+
* Have to repeat the business logic to avoid accidental injection of wrong transactions
3838
*
3939
* @param \Magento\Sales\Model\Order\Payment\Transaction $transaction
4040
* @return void
@@ -126,6 +126,7 @@ public function getOrderWebsiteId($orderId)
126126

127127
/**
128128
* Lookup for parent_id in already saved transactions of this payment by the order_id
129+
*
129130
* Also serialize additional information, if any
130131
*
131132
* @param \Magento\Framework\Model\AbstractModel|\Magento\Sales\Model\Order\Payment\Transaction $transaction

0 commit comments

Comments
 (0)