Im trying to implement add to Apple Pay feature in my app. I have an issuer bank's credit card as an existing feature.
Now question is, say its added successfully already, I relaunch my app, how to tell if already added to Apple Pay?
I have made some reads, and asked AIs, but I can't seem to get a clear answer.
- Passkit's primaryAccountIdentifier - if use this, how will our backend store this? I mean, I don't think its ideal approach for mobile app to be responsible for calling backend api.
- deviceAccountNumberSuffix - what if my app have other cards that can be added to Apple Pay and has same suffix. Then seems broken flow.
Hi @maw_spl,
You wrote:
Now question is, say its added successfully already, I relaunch my app, how to tell if already added to Apple Pay?
An issuer’s iOS app can detect which cards have already been provisioned by the cardholder into Apple Wallet by:
- Ensuring the card metadata has the correct configuration at the payment network operator (PNO) per 5.4 PNO Pass Metadata Configuration guidelines.
- Configuring for TestFlight in the production environment or Sandbox depending on your development capabilities.
- Following the Button Logic guidance outlined in 6.2.2 In‑App Provisioning Frontend Overview.
For any other questions, please see the FAQ at the end of the page below:
In-App Provisioning
https://applepaypartners.apple.com/issuers/features/in-app-provisioning
Cheers,
Paris X Pinkney | WWDR | DTS Engineer