Magento 2 Payment Fee by MagePrince helps admin to set payment fees to charge customers for selecting a specific payment method to complete their order from all available payment methods.
Use mixin instead of map, bacause map prevent to use mixin on select-payment-method. (Example: Native Magento Sales rule add mixin on select-payment-method from 2.3.x)
Test require.define('Magento_SalesRule/js/action/select-payment-method-mixin') for avoid calling the server several times to indicate the payment method. From 2.3.x, magento send already payment method and update totals.
Description
Use mixin instead of map, bacause map prevent to use mixin on select-payment-method. (Example: Native Magento Sales rule add mixin on select-payment-method from 2.3.x)
require.define('Magento_SalesRule/js/action/select-payment-method-mixin')
for avoid calling the server several times to indicate the payment method. From 2.3.x, magento send already payment method and update totals.