Implemented validate function for Payment form