我不完全明白这一点。例如,如果我尝试恢复用户 6 个月前购买的一年订阅:
- 原始购买日期是哪一天?
- 购买日期是哪一天?
如果此订阅在一年后自动续订,并且我们在 6 个月后再次恢复它: - 原始购买日期是哪一天? - 购买日期是哪一天?
到目前为止我的理解是: 购买日期:始终为恢复时间 原始购买日期:很可能是订阅期的开始。但如果是自动续订的话,是第一次订阅的开始吗?还是每个续订期的开始?
最佳答案
receipt field documentation Apple 对此解释得非常好:
原始购买日期:
In an auto-renewable subscription receipt, this indicates the beginning of the subscription period
购买日期
In an auto-renewable subscription receipt, the purchase date is the date when the subscription was either purchased or renewed
例如:有人在 2019 年 2 月 2 日购买了年度自动续订订阅。当您在 2020/2/1 检查时,orignalPurchDate
和 purchaseDate
是 2019/2/2,而在 2020/2/2 时,orignalPurchDate
仍然是 2019/2/2,但 purchaseDate
是 2020/2/2。
关于ios - StoreKit:原始购买日期和购买日期之间的差异,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60030326/