Android IAP 问题,采购对象中没有 OrderID
Issue with Android IAP, no OrderID in Purchase Object
我正在测试 Android 使用我的一个具有测试许可证访问权限的帐户在应用内购买订阅(我知道测试访问权限不支持订阅)。
请注意,购买响应 JSON 中没有 orderId
,但付款已完成(但不收费,因为此订阅有 7 天的跟踪记录)。响应 json 看起来像:
"packageName": "com.xxx.xxxx",
"productId": "yyyyyyyyyy_sdsda",
"purchaseTime": 1426055867418,
"purchaseState": 0,
"purchaseToken": "xxxxxxxxxxxx",
"autoRenewing": true
没有找到 'ORDERID'。尝试切换到另一个电子钱包帐户,但没有成功。有什么线索吗??
我已尝试就此问题寻求 Google 支持,看起来他们也增加了对订阅的 TEST 访问的支持。即不会为测试帐户分配订单 ID。以下是他们的回复:
The team said that is working as expected as our payments system (Wallet) will not actually process anything so an order ID will never be assigned. I know it's not ideal for test purposes but that's currently how it works.
张贴在这里希望它能帮助其他人理解这些变化。
我正在测试 Android 使用我的一个具有测试许可证访问权限的帐户在应用内购买订阅(我知道测试访问权限不支持订阅)。
请注意,购买响应 JSON 中没有 orderId
,但付款已完成(但不收费,因为此订阅有 7 天的跟踪记录)。响应 json 看起来像:
"packageName": "com.xxx.xxxx",
"productId": "yyyyyyyyyy_sdsda",
"purchaseTime": 1426055867418,
"purchaseState": 0,
"purchaseToken": "xxxxxxxxxxxx",
"autoRenewing": true
没有找到 'ORDERID'。尝试切换到另一个电子钱包帐户,但没有成功。有什么线索吗??
我已尝试就此问题寻求 Google 支持,看起来他们也增加了对订阅的 TEST 访问的支持。即不会为测试帐户分配订单 ID。以下是他们的回复:
The team said that is working as expected as our payments system (Wallet) will not actually process anything so an order ID will never be assigned. I know it's not ideal for test purposes but that's currently how it works.
张贴在这里希望它能帮助其他人理解这些变化。