We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d34954 + 11ca490 commit 8b1924aCopy full SHA for 8b1924a
app/code/Magento/Sales/Controller/Adminhtml/Transactions/Fetch.php
@@ -33,7 +33,10 @@ public function execute()
33
return $resultRedirect->setPath('sales/*/');
34
}
35
try {
36
- $this->orderPaymentRepository->get($txn->getId())->setOrder($txn->getOrder())->importTransactionInfo($txn);
+ $this->orderPaymentRepository
37
+ ->get($txn->getPaymentId())
38
+ ->setOrder($txn->getOrder())
39
+ ->importTransactionInfo($txn);
40
$txn->save();
41
$this->messageManager->addSuccess(__('The transaction details have been updated.'));
42
} catch (\Magento\Framework\Exception\LocalizedException $e) {
0 commit comments