validation to check all fields are entered before enabling pay button