android: in app billing RESULT_SERVICE_UNAVAILABLE

落爺英雄遲暮 提交于 2019-12-01 04:40:17

问题


I got this kind of error from last night..i dont't know what's going on.Is there any problem from my side?. I didn't change my code but when i clear data or i restall the application it shows me like....!!!!!! frustrating........

05-05 04:18:16.000: E/Finsky(17538): [1] NotifyingErrorListener.onErrorResponse: Server error on InAppPurchaseInformationRequest: com.android.volley.ServerError

05-05 04:18:16.010: D/Finsky(17538): [1] MarketBillingService.sendResponseCode: Sending response RESULT_SERVICE_UNAVAILABLE for request 227869xxxxxxx6110 to com.mypackage.
MarketBillingService.sendResponseCode: Sending response RESULT_ERROR for request 227869xxxxxxx6110 to com.mypackage.

someone says reinstall the app from market..ya its one solution but is there any other way?????

I just want to know is there any problem from my side...??

android in-app billing - restoreTransactionInformation says "although you do not need to respond to this intent with a CONFIRM_NOTIFICATIONS message".If i implement this but is any one is having experience of this, would be great.

Help me

Thanks in advance...


回答1:


if you find this message in the log:

05-30 09:28:23.760: E/Volley(4636): [13] BasicNetwork.performRequest: Unexpected response code 429 for https://android.clients.google.com/vending/api/ApiRequest

it means that you've send too much RESTORE_TRANSACTIONS request in given amount of time. Google has clearly some throttling on request. It happened to me during testing in-app billing, approx. 20-30 restore transcations request went ok, and then - service unavailable response.




回答2:


Most probably you get this message because Google Play application was not running at the moment, and after you reinstalled the app, Google Play was up and running again.

When you encounter the same problem again, try to start Google Play application and then get back to your app and try to access billing once more.



来源:https://stackoverflow.com/questions/10447801/android-in-app-billing-result-service-unavailable

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