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 91a37a8 + c369d8b commit a7dcd7bCopy full SHA for a7dcd7b
app/code/Magento/Sales/Model/Service/CreditmemoService.php
@@ -177,8 +177,8 @@ public function refund(
177
$creditmemo->getOrder(),
178
!$offlineRequested
179
);
180
- $this->getOrderRepository()->save($order);
181
$this->creditmemoRepository->save($creditmemo);
+ $this->getOrderRepository()->save($order);
182
$connection->commit();
183
} catch (\Exception $e) {
184
$connection->rollBack();
0 commit comments