V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
louisxxx
V2EX  ›  问与答

ios 内购沙箱环境崩了吗

  •  
  •   louisxxx · Nov 4, 2025 · 1335 views
    This topic created in 185 days ago, the information mentioned may be changed or developed.

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

    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.\"}"}
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3153 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:51 · PVG 22:51 · LAX 07:51 · JFK 10:51
    ♥ Do have faith in what you're doing.