I need reason for why override Magento_Checkout/js/action/select-payment-method during add custom total item in Magento 2? Please explain it?

1 Answer 1


If you will not override the Magento_Checkout/js/action/select-payment-method and you will customize that file code in core file It will work but after upgrading the Magento all core files will override by new Magento core files and you custom code will be removed. So you need to override the core file during add custom.

  • Ok banvari la, I know about this but i want what's action perform inside this js?
    – Ramanathan
    Mar 14, 2018 at 4:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.