【问题标题】:How to know which user is related to an App Store Server Notification?如何知道哪个用户与 App Store 服务器通知相关?
【发布时间】:2021-10-31 20:36:03
【问题描述】:

我有一个应用内订阅,并且我已经构建了一个通知服务器并将其 url 放入 App Store Connect。

the response of App Store Server Notifacation 中的字段太复杂而无法理解。即使我找不到将系统中的现有收据与新发送的通知相匹配的方法。我不知道任何通知都标记了我的应用程序中的哪个用户。

有人知道吗?


我在每次购买时只保存了transactionIdentifier 字段。

【问题讨论】:

  • 您可以在统一收据中查找匹配的交易以识别用户

标签: ios in-app-purchase app-store app-store-connect in-app-subscription


【解决方案1】:

您可以通过 original_transaction_id(在 responseBody.Latest_receipt_info 中找到)对每个用户的通知进行分类

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-06-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-01
    • 1970-01-01
    相关资源
    最近更新 更多