Hi!
Our client needs to calculate the COD fee based in the total amount of the order and not only in subtotal, that is why I need to recalculate COD fee (of payment adjust method contrib module) when any of the radio button quotes is selected, I mean, if the customer changes the shipping method, I need to trigger the function that recalculates the COD fee.
The problem: I can't find where to do this in the quote module. When the shipping quote is selected, the payment pane is recalculated with the correct shipping rates, but I didn't find where this piece of code is, as the quote radios are generated by javascript.
Any idea of where this code is? or, any simpler method to calculate the COD fee to the total and not the subtotal?
Thanks!!!
