Updated performPayment