Hello, I am developing Apple pay and In-app provisioning for the bank where I work, we have already configured all the entitlements, we are configured correctly with our PNO, When I use PKAddPaymentPassViewControllerDelegate I get to the terms and conditions part, but when I click accept , I am receiving the following error: "Could not add card"., and the log generated through the Wallet Profile on my iPhone is the following:
Response: https://crt-pod1-smp-device.apple.com:443/broker/v4/devices/042727BD5C1D900232550083704076180311F218772B4987/cards/7bbe81aeb5ef4869aab8ebd9f45be840/enable 500 Time profile: 0.767163 seconds {
x-conversation-id = "fccd73bcffbc4c3e9f85806647803b6b"
Vary = "accept-language"
Content-Type = "application/json"
x-pod = "crt-pod1"
x-keystone-correlationid = "B1F30C5D-AA1F-4729-B36E- 2C8516006C39"
Date = "Tue, 08 Oct 2024 17:28:40 GMT"
x-apay-service-response-details = "via_upstream"
Content-Length = "49"
x-envoy-upstream-service-time = "599"
x-pod-region = "paymentpass.com.apple"
}
{
errorCode = 40456;
statusCode = 500;
}
Can anyone please help me with this?
Regards, Vinicius
Hi @ViniciusJEM84,
If the Card Not Added error occurs after accepting the Terms & Conditions, this usually signifies an issue with the Payment Network Operator (PNO) metadata configuration. Please see the following page to learn more and verify the values provided to and from your PNO is correct:
Apple Pay on the Web Demo: Wallet Extensions – PNO Pass Metadata
https://applepaydemo.apple.com/wallet-extensions#pnoPassMetadata
If the above information does not help your troubleshooting, I need a bit more information to be able to identify the underlying cause of this issue. Please see the following post and complete the steps:
Gathering Required Information for Troubleshooting Apple Pay In-App Provisioning or In-App Verification Issues
https://developer.apple.com/forums/thread/762893
Once completed, please reply here with the Feedback ID so I may begin my investigation into your issue.
Cheers,
Paris X Pinkney | WWDR | DTS Engineer