亚马逊测试的Unity Unibill插件问题,AMAZONAPPSTORE_GETITEMDATAREQUEST_NO_PRODUCTS_RETURNED

时间:2014-08-28 17:49:30

标签: android unity3d amazon payment kindle

我为我的Unity项目设置了Unibill,Android付款一切正常。现在尝试让它在亚马逊上运行,但它无法运行。

我尝试打开“Amazon Sandbox”并关闭它。我尝试使用预先制作的“amazon.sdktester.json”以及使用Unibill自动创建的那个。似乎没什么用。我一直收到以下错误:

In App Purchasing SDK - Sandbox Mode: PurchasingListener Context: com.unity3d.player.UnityPlayerNativeActivity@41a3ea20
UnibillBiller: GetItemDataRequest returned an empty product list. Have you created your purchases on the Amazon developer portal?.
See http://www.outlinegames.com/unibillerrors#AMAZONAPPSTORE_GETITEMDATAREQUEST_NO_PRODUCTS_RETURNED

不确定是否存在某种诡计,或者我是否遗漏了一些明显的东西。

由于

更新: 我添加了几个日志。不确定这是否有帮助。

D/c       ( 6745): In App Purchasing SDK - Sandbox Mode: handleResponse
I/c       ( 6745): sendGetPurchaseUpdates with user idl3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=
I/c       ( 6745): send PurchaseUpdates with user id:l3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=;reset flag:true, local cursor:null, parsed from old requestId:GET_USER_ID_FOR_PURCHASE_UPDATES_PREFIX:1:0f310aba-f83e-4643-b5e3-896b3c552524
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192): Error parsing offset:
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192): java.lang.NumberFormatException: Invalid long: ""
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at java.lang.Long.invalidLong(Long.java:125)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at java.lang.Long.parseLong(Long.java:346)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at java.lang.Long.parseLong(Long.java:319)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at com.amazon.sdktestclient.iap.command.PurchaseUpdatesCommandHandler.parseOffset(PurchaseUpdatesCommandHandler.java:122)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at com.amazon.sdktestclient.iap.command.PurchaseUpdatesCommandHandler.executeRequest(PurchaseUpdatesCommandHandler.java:49)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at com.amazon.sdktestclient.iap.command.IapCommandHandler.execute(IapCommandHandler.java:59)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at com.amazon.sdktestclient.command.CommandBroker.onHandleIntent(CommandBroker.java:30)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at android.os.Handler.dispatchMessage(Handler.java:99)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at android.os.Looper.loop(Looper.java:151)
W/AmazonAppTester/PurchaseUpdatesCommandHandler( 5192):     at android.os.HandlerThread.run(HandlerThread.java:60)
D/c       ( 6745): In App Purchasing SDK - Sandbox Mode: handleResponse
I/c       ( 6745): Offset for PurchaseUpdatesResponse:0
D/UnibillAmazonPlugin( 6745): onPurchaseUpdatesResponse
E/Unity   ( 6745): UnibillBiller: GetItemDataRequest returned an empty product list. Have you created your purchases on the Amazon developer portal?.
E/Unity   ( 6745): See http://www.outlinegames.com/unibillerrors#AMAZONAPPSTORE_GETITEMDATAREQUEST_NO_PRODUCTS_RETURNED

1 个答案:

答案 0 :(得分:0)

我无法评论,因为我没有足够的'声誉',但显然我可以回答。

亚马逊的测试客户端本身似乎存在问题。堆栈跟踪不是来自Unibill。请发送或发布Unibill生成的json文件,该文件可能会导致亚马逊客户端崩溃。