【问题标题】:Auto Renewable Subscription issue with different sandbox users on Same device同一设备上不同沙盒用户的自动续订订阅问题
【发布时间】:2017-11-30 20:30:03
【问题描述】:

我在我的应用程序中使用 Auto Renewable Monthly Subscription 并成功实施了工作流程。我正在开发模式下测试应用程序,即使用沙盒环境。我在 iTunes 连接 > 用户和角色部分添加了两个沙盒用户。 查询 -

  1. 当用户使用第一个沙盒账户包月服务并成功订阅产品时。然后用户从设备设置 > iTunes 和 App Store 部分注销第一个沙盒帐户,然后再次使用第二个沙盒测试用户登录。 当用户再次打开应用程序时,它会显示警报-“您当前已订阅此”,并带有管理和确定的选项,而不是要求与新的第二个沙盒用户执行购买。请指导我正确的行为应该是什么。

  2. 如何在应用内添加取消订阅并使用沙盒环境进行测试。

  3. 自动续订 - 续订和验证订阅如何工作?

请提出建议,我将非常感谢指导方针。

【问题讨论】:

    标签: ios in-app-purchase app-store-connect auto-renewable


    【解决方案1】:

    首先,SandBox 付款有效期为每月定期付款 5 分钟。对于app inApp Payment details 将保存在appStoreReceiptURL 这个url,Apple 将根据Purchase_id(它将在iTunes 中创建)和appStoreReceiptURL 检查,如果您想使用另一个沙盒测试电子邮件您需要删除应用程序并重新安装。然后您将继续通过 SandBox 付款。

    2) There is no option to cancel Auto-renewable to sandbox payments.
    
    3) Auto renewable will not work in Sandbox payments, it's for just testing purpose how inApp will work with out payment.
    

    【讨论】:

    • 在沙盒环境中是否可以获取取消日期?@Haric 只有我们可以在生产环境中测试?
    猜你喜欢
    • 1970-01-01
    • 2013-05-20
    • 2013-06-30
    • 2018-08-02
    • 1970-01-01
    • 2020-03-23
    • 2011-12-23
    • 1970-01-01
    • 2016-12-08
    相关资源
    最近更新 更多