Issue with Android IAP, no OrderID in Purchase Object

a 夏天 提交于 2019-12-22 05:07:01

问题


Im testing Android In app purchase subscription with one of my accounts with TEST License access (I'm aware Test access won't support Subscriptions). Noticed that there is no orderIdin purchase response JSON but payment goes through(no charges though since there's a trail for 7 days on this subscription). response json looks like:

"packageName": "com.xxx.xxxx",
"productId": "yyyyyyyyyy_sdsda",
"purchaseTime": 1426055867418,
"purchaseState": 0,
"purchaseToken": "xxxxxxxxxxxx",
"autoRenewing": true

No 'ORDERID' is found. Tried switching to another Wallet account but no luck. Any clue??


回答1:


I've tried to reach Google support on this issue and it looks like they've added support for TEST access to subscriptions as well. i.e No order ID will be assigned for TEST accounts. Here's the response in their words:

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.

Posting it here hoping it would help others to understand these changes.



来源:https://stackoverflow.com/questions/28981224/issue-with-android-iap-no-orderid-in-purchase-object

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!