donte1234567 2017-05-24 17:56
浏览 137

更新Apple Wallet Pass时收到无效的传递数据

I have implemented all 5 endpoints in PHP and all seems working fine. But when I provide updated pass in response to web service Getting the Latest Version of a Pass(GET request to webServiceURL/version/passes/passTypeIdentifier/serialNumber) the pass is not updated and in error log I am receiving following error.

{"logs":["[2017-05-24 22:37:50 +0530] Get pass task (pass type pass.com.xxxx.xxxx, serial number 285527, if-modified-since (null); with web service url http://www.xxxx.com/xx/xx/public/pass_api) encountered error: Received invalid pass data (The pass cannot be read because it isn't valid.)"]}

Also I am not sure what to pass in response to Getting the Latest Version of a Pass web service. Whether I should pass updated pass.json or raw file of pass.pkpass or downloadable format of pass.pkpass, because in Apple PassKit Web Service Reference guide its written like If request is authorized, returns HTTP status 200 with a payload of the pass data. So I am not sure what to pass as payload.

All my endpoints and entire code are in PHP.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
    • ¥15 关于#Java#的问题,如何解决?
    • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
    • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
    • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
    • ¥500 火焰左右视图、视差(基于双目相机)