Apple Pay In-App Provisioning – Apple server failure when adding a card

During Apple Pay in-app provisioning (EV_ECC_v2), our iOS app successfully obtains the issuer provisioning certificates and generates cryptographic material. The flow fails when Apple posts the card blob to Apple’s broker (card creation step), returning HTTP 500 from .../broker/v4/devices/{SEID}/cards. Steps:

  1. Call issuerProvisioningCertificates?encryptionVersion=EV_ECC_v2

→ 200 OK; returns ECC leaf + Apple Root CA chain; nonce=2a831be4. 2. Build {encryptedCardData, activationData, ephemeralPublicKey} 3. POST /broker/v4/devices/{SEID}/cards Expected: 200 OK on /broker/v4/devices/{SEID}/cards, or 5xx with a descriptive error if payload/cryptography is invalid. Observed: 500 Internal Server Error from Apple broker on /cards (labeled “eligibility” in PassKit logs), causing a terminal failure in Wallet UI.

Answered by DTS Engineer in 874315022

Hi @Duynguyentan,

Sorry for the delay and thanks for the Feedback ID.

I've checked the Apple Pay server logs and found that the most recent error is not thrown by Apple Pay directly, but the card issuer or payment network operator (PNO). Please contact your card issuer or PNO about this provisioning error and provide them with metadata I've included in your existing Feedback report (FB21352672).

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Deedback Assistant ID: FB21352672 (Apple Pay In-App Provisioning – Apple server failure when adding a card)

Have you found the root cause?

Hi @Duynguyentan,

Sorry for the delay and thanks for the Feedback ID.

I've checked the Apple Pay server logs and found that the most recent error is not thrown by Apple Pay directly, but the card issuer or payment network operator (PNO). Please contact your card issuer or PNO about this provisioning error and provide them with metadata I've included in your existing Feedback report (FB21352672).

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi  @granko878,

Please review the following page to ensure both your implementation and PNO metadata are correctly configured:

Apple Pay on the Web Demo: In-App Provisioning

https://applepaydemo.apple.com/in-app-provisioning

If you continue to experience errors, please follow the steps in the forums post below, then create a new post (including your Feedback ID):

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

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

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

hi @DTS Engineer, we have already contacted PNO and identified an issue. Thank you

hi @DTS Engineer In feedback ID https://feedbackassistant.apple.com/feedback/21352672 , we contacted PNO to investigate, and they determined that the issue was a missing WSD key. After configuring this key, the issue still persists with the same logs. PNO also reported that they still do not receive any calls from Apple services for the eligibility check step. Could you please help us check this?

I have created a new feedback request for this issue: https://feedbackassistant.apple.com/feedback/21945664

Thank you.

Hi @Duynguyentan,

You wrote:

After configuring this key, the issue still persists with the same logs. PNO also reported that they still do not receive any calls from Apple services for the eligibility check step. Could you please help us check this?

The response error associated with the logs provided in FB21945664 are different from the previous errors found in FB21352672.

Since the PNO is not receive any Apple Pay requests, they should use the metadata provided to you within FB21945664 to investigate further. If needed, they can submit their own code-level support request so I can investigate.

Thank you for your patience so far.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Apple Pay In-App Provisioning – Apple server failure when adding a card
 
 
Q