It checks the kind of payment card and validates the card number