amendments to EnterPaymentDetails controller