PHP code example of pronko / magento-2-payment-messages

1. Go to this page and download the library: Download pronko/magento-2-payment-messages 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/ */

    

pronko / magento-2-payment-messages example snippets

xml
    <type name="Pronko\PaymentMessages\Model\MethodList">
        <arguments>
            <argument name="methodCodes" xsi:type="array">
                <item name="payment_code_example" xsi:type="string">payment_code_example</item>
            </argument>
        </arguments>
    </type>