I am developing a custom plugin for some payment gateway (COD with some custom settings ) that will add some extra charge based on some settings in the payment gateway. I wo