gpt4 book ai didi

android - 错误测试应用内结算示例 - Dungeons

转载 作者:太空狗 更新时间:2023-10-29 15:49:10 24 4
gpt4 key购买 nike

我正在尝试获取应用内结算示例 Dungeons,我有一个带有我的公共(public) ID 的应用程序草稿,并且我已经发布了非托管项目 potion_001。我在设备上使用与注册商家帐户相同的谷歌帐户。

静态测试工作正常,但在尝试购买药水时我得到:

DEBUG/vending(1437): [1] BaseBuyPageActivity.onPostResponse(): {PurchaseResult=ERROR_GAIA_AUTH, PurchaseInfo=PurchaseInfo=, SignupStatus=NEW_USER, TId=null, ShoppingCart=null, RefundPolicy=[], ErrorFields=[]}
DEBUG/vending(1437): [1] BaseBuyPageActivity.onPostResponse(): Invalid checkout token: { /.../ }
DEBUG/vending(1437): [1] BaseBuyPageActivity.onPostResponse(): {PurchaseResult=OK, PurchaseInfo=PurchaseInfo=, SignupStatus=SIGNED_UP, TId=300449045376486, ShoppingCart=[ItemPrice=7,00 kr, TaxInclusive=, TaxExclusive=, Total=7,00 kr, HasTaxMessage=false, TaxMessage=null, HasFooterMessage=false, FooterMessage=null], RefundPolicy=<b>Ingen återbetalning.</b><br/><a href="http://market.android.com/support/bin/answer.py?answer=1061913">Info</a><br/><a href="http://www.google.com/mobile/android/fsa-notification.html">Reglerat av FSA, UK</a>, Instruments=[[Id=724253266825206, Name=VISA xxx-xxxx Invalid=false Type=CREDIT_CARD] ], DefaultBillingInstrument=724253266825206, ErrorFields=[]}
DEBUG/vending(1437): [1] BaseBuyPageActivity.shouldAddCarrierBilling(): isProvisioned(): false isSavedonServer(): false radio available? true
DEBUG/vending(1437): [1] BaseBuyPageActivity.shouldAddCarrierBilling(): isProvisioned(): false isSavedonServer(): false radio available? true
DEBUG/vending(1437): [200] BaseAction.run(): ApiException: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.PurchaseOrderRequest, Response=INTERNAL_SERVICE_ERROR
DEBUG/vending(1437): [1] LocalAssetDatabase.notifyListener(): inapp:com.package.billingtest:potion_001 / UNINSTALLED
DEBUG/vending(1437): [1] LocalAssetCache.updateOneAsset(): No local info for inapp:com.package.billingtest:potion_001
INFO/vending(1437): [1] BaseAction.displayErrorUi(): Server error in com.android.vending.billing.PurchaseOrderAction: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.PurchaseOrderRequest, Response=INTERNAL_SERVICE_ERROR
DEBUG/vending(1437): [1] LocalAssetDatabase.notifyListener(): inapp:se.xebralabs.billingTest:potion_001 / UNINSTALLED
DEBUG/vending(1437): [1] LocalAssetCache.updateOneAsset(): No local info for inapp:com.package.billingtest:potion_001
INFO/vending(1437): [1] BaseAction.displayErrorUi(): Server error in com.android.vending.billing.PurchaseOrderAction: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.PurchaseOrderRequest, Response=INTERNAL_SERVICE_ERROR

(我删除了这个 logcat-snippet 中的实际 token 代码)

任何想法出了什么问题?

最佳答案

你发布了 potion-001 吗?

您是否使用上传到市场的同一个 APK 在您的测试手机上安装了该应用程序?即把它放在你的 SD 卡上并手动安装它(不是通过 eclipse 安装它)?

您从 Android Market 得到的回应是什么? DEVELOPER_ERROR?

您无法从注册 google 商家帐户的同一个 GMAIL 测试真实付款。就像您无法购买自己的应用程序一样。您无法购买自己的应用内商品。

您需要向您的开发者页面添加一个测试帐户。然后让手机用这个账号登录android应用市场,然后在那个手机上测试。注意要从您的市场登录新的 Gmail 帐户,您必须将手机恢复出厂设置:-(

谷歌备份:

http://developer.android.com/guide/market/billing/billing_testing.html

To test your in-app billing implementation with actual in-app purchases, you will need to register at least one test account on the Android Market publisher site. You cannot use your developer account to test the complete in-app purchase process because Google Checkout does not let you buy items from yourself. If you have not set up test accounts before, see Setting up test accounts.

关于android - 错误测试应用内结算示例 - Dungeons,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5501370/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com