diff --git a/ios/RCTBraintree/RCTBraintree.m b/ios/RCTBraintree/RCTBraintree.m index 94a0afd9..ef586139 100644 --- a/ios/RCTBraintree/RCTBraintree.m +++ b/ios/RCTBraintree/RCTBraintree.m @@ -129,6 +129,7 @@ - (instancetype)init { BTCardClient *cardClient = [[BTCardClient alloc] initWithAPIClient: self.braintreeClient]; BTCard *card = [[BTCard alloc] initWithNumber:cardNumber expirationMonth:expirationMonth expirationYear:expirationYear cvv:cvv]; + card.shouldValidate = YES; [cardClient tokenizeCard:card completion:^(BTCardNonce *tokenizedCard, NSError *error) {