Error Domain=PKPassKitErrorDomain Code=2

This error occurs in Apple Pay Wallet In-App Provisioning Flow for Credit / Debit Cards

When the data received from the PNO (Visa) is passed to PKAddPaymentPassRequest this error is seen in addPaymentPassViewController, in the finalize stage.

Docs provide no clue as to what could be wrong.

iOS 18.2.1

XCode 15.2

Error description mentions "unsupportedVersionError"

  • Is the pass version not supported?
  • Is the wallet version not supported?
  • Is it an app implementation error or error in the data received from the PNO?
Error Domain=PKPassKitErrorDomain Code=2
 
 
Q