Post

Replies

Boosts

Views

Activity

Reply to How to check if Payment Pass already exists in Wallet
You can access all passes from the library with PXPassLibrary().passes() Then you can check in this list if you already have the pass for your properties exemple with primaryAccountId     currentWalletPass = allPasses?.first(where: { (onePass) -> Bool in       if let passPrimaryAccountId = onePass.paymentPass?.primaryAccountIdentifier, passPrimaryAccountId == "one account id"       {         return true       }       else       {         return false       }     }) you can also check wether the pass is on the iPhone or on a remote device (like a watch)
Oct ’20