var card = {
cardType: 'VISA',
number: '4111111111111111',
expiryMonth: '03',
expiryYear: '2100',
cvv: '123'
};
var validation = CreditCard.validate(card);
When card type is Visa Delta or Visa Electron or Visa Debit, Can I use CreditCard.validate(card) by cardType: 'VISA' to get correct result ? thank you a lot.
Hello :
Sorry first, my engilsh isn't very good.
I need to validate a lot of card types.
var card = { cardType: 'VISA', number: '4111111111111111', expiryMonth: '03', expiryYear: '2100', cvv: '123' }; var validation = CreditCard.validate(card);
When card type is Visa Delta or Visa Electron or Visa Debit, Can I use CreditCard.validate(card) by cardType: 'VISA' to get correct result ? thank you a lot.