Added compute payments functionality in summary page