StoreKit:原始购买日期和购买日期之间的差异
StoreKit: Difference between original purchase date and purchase date
我不太明白。例如,如果我尝试恢复订阅,用户在 6 个月前购买了一年:
- 原购买日期是哪天?
- 购买日期是哪天?
如果此订阅在一年后自动续订,我们在 6 个月后再次恢复:
- 最初的购买日期是什么时候?
- 什么是购买日期?
目前我的理解是:
购买日期:永远是恢复的时间
原始购买日期:很可能是订阅期的开始。但是如果是自动续订是不是第一次订阅的开始呢?还是每个续订期的开始?
Apple 的 receipt field documentation 解释得很好:
原始购买日期:
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。
我不太明白。例如,如果我尝试恢复订阅,用户在 6 个月前购买了一年:
- 原购买日期是哪天?
- 购买日期是哪天?
如果此订阅在一年后自动续订,我们在 6 个月后再次恢复: - 最初的购买日期是什么时候? - 什么是购买日期?
目前我的理解是: 购买日期:永远是恢复的时间 原始购买日期:很可能是订阅期的开始。但是如果是自动续订是不是第一次订阅的开始呢?还是每个续订期的开始?
Apple 的 receipt field documentation 解释得很好:
原始购买日期:
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。