ios - StoreKit:原始购买日期和购买日期之间的差异

标签 ios in-app-purchase storekit

我不完全明白这一点。例如,如果我尝试恢复用户 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 检查时,orignalPurchDatepurchaseDate 是 2019/2/2,而在 2020/2/2 时,orignalPurchDate 仍然是 2019/2/2,但 purchaseDate 是 2020/2/2。

关于ios - StoreKit:原始购买日期和购买日期之间的差异,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60030326/

相关文章:

ios - 在 Swift 中从 UISplitViewDetail 创建委托(delegate)到 master 时出错

iphone - VerificationController 无法识别的选择器 iOS 5.0.1

ios - 如果您尝试两次验证同一个 iTunes IAP 收据,第二次会失败吗?

ios - 如果用户在基于时间的 InApp 购买订阅中更改设备当前日期怎么办?

swift - 应用内购买 - 购买失败的比例很高 - SKError 代码 2 或 0

c# - Xamarin.iOS:MPMusicPlayerController.NowPlayingItem 属性消失

ios - Delphi iOS7启动图像问题

iOS 应用程序预览视频未保存在 iTunes Connect 中

iphone - iOS - 并非我所有的应用内购买都显示在 iTunesConnect 中

in-app-purchase - iOS应用内购买自动续订订阅管理