Using Apple Test card, I was able to add card in the SandBox environment. However, if I try to check the the status using canAddPaymentPassWithPrimaryAccountIdentifier
; it is always returning true
. Please advise.
Below is the code for the same:
PKPassLibrary *passLibrary = [PKPassLibrary new];
NSString * cardNumber = @"533636xxxxxx6636"; //16 digit card number
[passLibrary canAddPaymentPassWithPrimaryAccountIdentifier:cardNumber]