Android in-app billing is returning server response code 2. What does it mean?

你说的曾经没有我的故事 提交于 2020-01-03 13:59:47

问题


I'm using In-App Billing V3.
When I try to make a purchase I'm getting a server response code of 2.
I've searched but can find no documentation on what this response code means.

If you look at the official In-app Billing Reference (IAB Version 3) documentation you'll notice a value of 2 is conspicuously missing from the table of server response codes.

What does this value indicate, and why might I be getting it??


Update:
I've just notice that the documents for In-app Billing V2 say that a value of 2 "Indicates that the network connection is down". I'm guessing this is the same in V3, but there's just an omission in the documentation? Can anybody confirm?


Update 2:

It looks like the In-App Billing V3 documentation has finally been updated to include the missing server response.

BILLING_RESPONSE_RESULT_SERVICE_UNAVAILABLE     2    Network connection is down

来源:https://stackoverflow.com/questions/23754209/android-in-app-billing-is-returning-server-response-code-2-what-does-it-mean

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