We are implementing In-App Provisioning functionality for our Bank but there is always 500 Internal Server Error respond by Apple server once we tried to add card to apple wallet.
<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>Apple</center> </body> </html>
Our code
let request = PKAddPaymentPassRequest()
request.activationData = try decodeBase64(payload.activationDataText, field: "activationDataText")
request.encryptedPassData = try decodeBase64(payload.encryptedDataText, field: "encryptedDataText")
request.ephemeralPublicKey = try decodeBase64(payload.ephemeralPublicKeyText, field: "ephemeralPublicKeyText")
return request
Because of fPanId is not required so we are not pass it to Apple server and that field generated once the card already added to wallet.
Please help us investigate the issue, thanks!
FeedbackId 24065847 (In-App Provisioning 500 Internel Error)