I have a $5 fee that gets added to the order total when using lets say "Cash on Delivery". This fee should be removed when switching to "bank transfer". This fee gets removed just fine when I trigger the order review table to update by lets say changing the billing zip code. But I need it to also trigger when selecting a different payment gateway.
Here is my current code:
<script>
$('#payment_method_bacs').on('click', function() {
$( 'body' ).trigger( 'update_checkout' );})
</script>
Any ideas?