Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android: in app billing RESULT_SERVICE_UNAVAILABLE

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...

like image 754
Bhavesh Hirpara Avatar asked Dec 09 '22 00:12

Bhavesh Hirpara


2 Answers

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.

like image 132
Hox Avatar answered Jan 01 '23 20:01

Hox


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.

like image 40
lenik Avatar answered Jan 01 '23 19:01

lenik