added total sum to payment window