gpt4 book ai didi

ios - "The receipt could not be authenticated"- 应该再次检查吗?

转载 作者:行者123 更新时间:2023-12-04 11:22:02 24 4
gpt4 key购买 nike

在 Apple 的应用程序内购买状态代码(在 Table 2-1 here 中)中,有些显然应该再试一次,有些则不能,应该认为收据无效。

但是“21003 - 收据无法通过身份验证。”呢?它类似于21010还是21005? IE。这应该稍后再次发送还是被视为无效购买?

最佳答案

根据我的经验,"21003 - The receipt could not be authenticated." status 与 App-Specific Shared Secret 相关。
当您使用 AppStore 验证收据时,App-Specific Shared Secret 用于设置 password 的值。您发送到 AppStore 验证端点的 JSON 请求中的字段。 (见 Validating Receipts with the App Store documentation)
请记住,根据 Apple 的文档,此特定于应用程序的共享 secret 仅在验证使用自动续订订阅的应用程序的收据时才需要。但是,根据我的经验,可能值得为任何应用程序收据验证设置它,以避免 21003 错误。

关于ios - "The receipt could not be authenticated"- 应该再次检查吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58615404/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com