Stripe recommends using the change event for client side validation of the card element:
change
card
cardElement.on(\'change\', function(event) {