validate before paying