Magento2 - in checkout page, I have one check-box just before the payment method on the checkout payment step. I need to update cart total on check-box check/unchecked.
Currently system is working like once I clicked on check-box, my custom action is call and get an Ajax response with some amount. How can update this amount to cart total after complete this action?
You can share your code/reference here. Any help would be greatly appreciated.