From d6f9f9486d7cbe69851945028d145f32f386f2a5 Mon Sep 17 00:00:00 2001 From: Michael Villar Date: Tue, 3 Sep 2013 15:16:23 +0200 Subject: [PATCH] Fix for AMEX 4 digits code delegate --- PaymentKit/PKView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaymentKit/PKView.m b/PaymentKit/PKView.m index c8a1c24..9c7a684 100644 --- a/PaymentKit/PKView.m +++ b/PaymentKit/PKView.m @@ -481,7 +481,7 @@ - (BOOL)cardCVCShouldChangeCharactersInRange: (NSRange)range replacementString:( - (void)checkValid { - if ([self isValid] && !isValidState) { + if ([self isValid]) { isValidState = YES; if ([self.delegate respondsToSelector:@selector(paymentView:withCard:isValid:)]) {