Improved validation

Added a description for validatePayment() function. Just for Ben.