Error during In-App Provisioning (eligibility step, PKErrorHTTPResponseStatusCodeKey=500)

Hello,

We are implementing in-app provisioning in our fintech app; the card issuer is a third party, so we have limited control and visibility. We have ruled out the causes we could investigate on our side and on the card issuer’s side.

We are reaching out to ask for your help in understanding what is going wrong so we can fix it.

What happens:

User taps “Add to Apple Wallet” → we present PKAddPaymentPassViewController → they tap Next → after a few seconds the flow fails with "Set Up Later" alert.

Device log:

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;
}';

Feedback Assistant ID: FB22007923 (Error during the In-App Provisioning process)

Answered by DTS Engineer in 877205022

Hi @dev-D-S,

You wrote:

Feedback Assistant ID: FB22007923 (Error during the In-App Provisioning process)

The error is due to an invalid nonce value. The nonce value contained within the encrypted card data must be identical to the nonce value provided to the add payment pass request.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @dev-D-S,

You wrote:

Feedback Assistant ID: FB22007923 (Error during the In-App Provisioning process)

The error is due to an invalid nonce value. The nonce value contained within the encrypted card data must be identical to the nonce value provided to the add payment pass request.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Error during In-App Provisioning (eligibility step, PKErrorHTTPResponseStatusCodeKey=500)
 
 
Q