New answers tagged

2

sales_order_invoice_pay can provide order objects.From that order object, you can get invoices of an order, that can multiple invoices or single invoice. $order = $observer->getEvent()->getOrder(); $invoiceList = $order->getInvoiceCollection(); if (count($invoiceList->getItems()) > 1) { foreach ($invoiceList as $invoice){ $invoice-&...


Top 50 recent answers are included