在收到Apple statusUpdateNotification以进行自动续订订阅时,如何确定客户/用户? [英] How do you determine the customer/user when receiving an Apple statusUpdateNotification for auto renewing subscriptions?

查看:662
本文介绍了在收到Apple statusUpdateNotification以进行自动续订订阅时,如何确定客户/用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,Apple已针对订阅生命周期中的各种事件实施了服务器到服务器通知。

So, Apple has implemented their server to server notification for various events in the subscription lifecycle.

我很高兴能继续这样做,但似乎有一些我想念的明显事情。我不确定如何将通知数据与我这边的用户进行匹配。我很惊讶没有通过uid / apple id和匹配的通知。也许我应该使用original_transaction_id,但不清楚这是否是唯一的。

I was very excited to get going on this but then it seems there is some sort of glaring thing I'm missing. I'm not sure how to match the notification data to a user on my side. I'm surprised there isn't a uid/apple id passed with the notification to match on. Maybe I'm supposed to be using the original_transaction_id but its unclear whether that is unique.

有人知道在状态响应中使用什么吗?

Does anyone know what to use in the status response?

推荐答案

我使用original_transaction_id将事件与用户匹配。

I use the original_transaction_id to match the event to a user.

这篇关于在收到Apple statusUpdateNotification以进行自动续订订阅时,如何确定客户/用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆