PHP code example of reach-digital / magento2-auto-invoice
1. Go to this page and download the library: Download reach-digital/magento2-auto-invoice library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
reach-digital / magento2-auto-invoice example snippets
xml
<type name="ReachDigital\AutoInvoice\Observer\AutoInvoiceAfterPlaceOrder">
<arguments>
<argument name="paymentMethods" xsi:type="array">
<item name="banktransfer" xsi:type="string">banktransfer</item>
</argument>
</arguments>
</type>