Client side validation for payment