Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Fix for AMEX 4 digits code delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvillar committed Sep 3, 2013
1 parent 89f200e commit d6f9f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PaymentKit/PKView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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:)]) {
Expand Down

0 comments on commit d6f9f94

Please sign in to comment.