I am trying to create my custom reward points module. I need to apply discount to customer based on his reward points when he click use my rewards in cart/checkout page. For that i am followed below link
It's adding discount to cart when i enter into checkout page, but i need to give authority to customer to apply rewards or not. If he select apply rewards then only discount to be add to cart totals.