V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
louisxxx
V2EX  ›  问与答

ios 内购沙箱环境崩了吗

  •  
  •   louisxxx · 34 天前 · 991 次点击
    这是一个创建于 34 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前测试一直稳定, 今天测试发现两个诡异的问题

    App 内订阅产品 A;

    通过 API 查询产品 ID 变成了 B;

    在 App 里订阅成功后本地显示的收据如下:

    [productId] => xxx.xxx.sub.pro.monthly
    [transactionId] => 2000001048279181
    

    然后拿着此 transactionId 2000001048279181 去官方 API 查

    GET https://api.storekit-sandbox.itunes.apple.com/inApps/v2/history/{transactionId}
    

    结果产品 ID 变成了 xxx.xxx.sub.personal.monthly 而且我反复换套餐订阅, 使用 originalTransactionId 去查 history 永远只会返回 3 条记录 然后刚刚看到沙箱订单同步 API 老是报 500 错误, 是不是官方的沙箱崩了了, 数据错乱

    信息: {"error": "HTTP request [GET https://api.storekit-sandbox.itunes.apple.com/inApps/v2/history/2000001047740616?sort=DESCENDING] failed with status code 500. Response text is: {\"errorCode\":5000001,\"errorMessage\":\"An unknown error occurred. Please try again.\"}"}
    
    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5198 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:23 · PVG 16:23 · LAX 00:23 · JFK 03:23
    ♥ Do have faith in what you're doing.