validation done in payment method