In-App Push Provisioning failing at Add Card stage of flow

In testing in-app push provisioning with a production TestFlight build built with Xcode Cloud (Xcode 26.4.1) the flow is failing when attempting to add cards. I start the flow by choosing the add to wallet button from within the app. I get to the stage “Add Card” and choosing continue fails with “Could Not Add Card” and a button “Set Up Later”

Analysing the sysdiagnose logs reveals that the eligibility stage is failing with a HTTP 500 error.

[9ix8SPBHSfWEcxLjj+j5bA] ProvisioningOperationComposer: Step 'eligibility' failed with error <PKProvisioningError: severity: 'terminal'; internalDebugDescriptions: '( "eligibility request failure", "Received HTTP 500" )'; underlyingError: 'Error Domain=PKPaymentWebServiceErrorDomain Code=0 "Unexpected error." UserInfo={PKErrorHTTPResponseStatusCodeKey=500, NSLocalizedDescription=Unexpected error.}'; userInfo: '{ PKErrorHTTPResponseStatusCodeKey = 500; }'; >

FB22761556

This has now been resolved. The issue was that the encryption key payload and index did not match between the card provider and the push provisioning SDK provider we are using. After fixing the payload and index everything started working.

In-App Push Provisioning failing at Add Card stage of flow
 
 
Q