Magento2 Item order refund programmatically
I’m using Magento 2.4.4 and I would like to understand if this code is correct about the automatic online item refund. private function createCreditMemoByRma($rma, $order) { $totalQty = 0; $orderItems = self::retrieveOrderItemsData($order); $creditmemo = $this->_convertor->toCreditmemo($order); // Return AmastyRmaApiDataRequestItemInterface[] $rmaItems =… Read More »Magento2 Item order refund programmatically