ajax validation for refund platform