Forked from mrkhoa99/Boolfly_payment_fee.
Using Composer
Run the following series of command (from root of your Magento2 Installation):
composer config repositories.boolfly-payment-fee git [email protected]:latenights/Boolfly_payment_fee.git
composer require boolfly/payment-fee:dev-master
Tested on M 2.2.3
Add a specific fee to the payment in Magento 2
The same license with Magento application: https://opensource.org/licenses/OSL-3.0
Re-construct module to follow the logic of this extension: https://github.com/devromans/payment-fee
Thanks to @devromans
-We can create an offline payment method here: http://cedcommerce.com/magento-2-module-creator/payment-module-We can follow this guide to add a specific fee to order total: http://magento.stackexchange.com/questions/92774/how-to-add-fee-to-order-totals-in-magento2
-Replace a default JS component: http://devdocs.magento.com/guides/v2.0/javascript-dev-guide/javascript/custom_js.html
**STORES > Configuration > SALES > Payment Fee**