-
Notifications
You must be signed in to change notification settings - Fork 203
AMEX CVC authentication #15
Comments
3 digit Amex CVCs are valid. Amex CVCs can be 3 or 4 digits. |
Totally didn't know that, thank you. However, it appears that the delegate call back on PKView only happens after the third digit is entered. If the user enters a 4th digit there is no call-back or indication that this has happened. |
3 digit amex's are valid - but stopping at the 3rd digit makes 4 digit amex' cvc's impossible to type in. the keyboard is dismissed at the 3rd digit even if it's an amex (and could possibly have a 4th digit) This is definitely still an open issue |
Also, are you sure AmEx currently issues cards with 3 digit codes? Light googling returned: http://www.cvvnumber.com/cvv.html American Express® cardholders: |
|
this seems to fix it (in PKView.m ~line 266) Sorry - new to pull-requests n what not, meant to do it that way. - (BOOL)isValid
{
return [self.cardNumber isValid] && [self.cardExpiry isValid] &&
[self.cardCVC isValidWithType:[[PKCardNumber cardNumberWithString:cardNumberField.text] cardType]];
} |
The AMEX CVC authentication completes after the entry of the 3rd number.
The text was updated successfully, but these errors were encountered: