Skip to content

magento man

How can i get order data using credit memo plugin in Magento 2?

Here I used the credit memo plugin for updating the order data after refund success so how can I get order data in that function? etc/adminhtml/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoSalesApiCreditmemoRepositoryInterface”> <plugin name=”add_data_custom” type=”VendorModuleModelPluginCreditmemoAddData”/> </type> plugin file public… Read More »How can i get order data using credit memo plugin in Magento 2?

Argument 1 passed to MagentoFrameworkMailAddressConverter::convertMany() must be of the type array, null given,

I have created a pop up html form for sending mail to admin panel, it can pop up and keys in data but somehow it showed error while submitting. app/code/Myvendor/Mymodule/Block/Popup.php <?php namespace MyvendorMymoduleBlock; use MagentoFrameworkViewElementTemplate; class Popup extends MagentoFrameworkViewElementTemplate {… Read More »Argument 1 passed to MagentoFrameworkMailAddressConverter::convertMany() must be of the type array, null given,