In-app provisioning, UnsupportedVersionError when submitting PKAddPaymentPassRequest with test data from TSP.

Hello,

I am setting up a feature for my company's banking app that allows users to add their payment/debit card they have with us to the Apple Wallet on their device. We have the in-app provisioning entitlement setup and configured in the app and configured with our banking partner/TSP. We are able to manually provision production environment cards via the Wallet app.

I am using test card data from my TSP. I send them the two certificates, nonce, and nonce signature data and am given activationData, encryptedPassData, and an ephmeralPublicKey that we then set on an instance of PKAddPaymentPassRequest. We call the handler on the delegate method that is called with that request object and get an error:

The operation couldn’t be completed. (PKPassKitErrorDomain error 2.)

Looking at the PassKit library shows this is PKUnsupportedVersionError - Unsupported pass version.

Our TSP hasn't been super helpful in troubleshooting this issue and just said we should contact Apple as it is an Apple error.

I am trying to figure out if the issue is with how we are implementing the feature or with the test data itself given to us.

Hi @jwlevel,

I don't have enough information to identify the underlying cause of the error reported. Please follow the steps described in the post below:

Gathering Required Information for Troubleshooting Apple Pay In-App Provisioning or In-App Verification Issues

https://developer.apple.com/forums/thread/762893

Once I have the Feedback ID with the requested details listed in the post above, I'll be able to provide guidance for you to resolve the reported errors, as well as troubleshoot your implementation and PNO metadata configuration, as needed.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

In-app provisioning, UnsupportedVersionError when submitting PKAddPaymentPassRequest with test data from TSP.
 
 
Q