Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Play In-app Billing API version is less than 3 #256

Closed
changcsw opened this issue Dec 18, 2019 · 8 comments
Closed

Google Play In-app Billing API version is less than 3 #256

changcsw opened this issue Dec 18, 2019 · 8 comments

Comments

@changcsw
Copy link

I am using the implementation 'com.android.billingclient: billing: 2.0.3' version of Google payment api. It works fine on Google Play in the US, but when I switch to Google Play in Hong Kong, my app reports the 'Google Play In-app Billing API version is less than 3' error. I do n’t know how to solve it.

@calren
Copy link
Contributor

calren commented Dec 18, 2019

The Google Play Billing Library (currently 2.0.3) is the client API used in your Android app.
The Google Play Developer API (currently v3) is the server API used for managing purchases and managing your app on Google Play.

The Google Play Developer API will only support the v3 endpoint after 1 December, 2019. Here is the blog post:
https://android-developers.googleblog.com/2019/03/changes-to-google-play-developer-api.html

If you have any additional questions about the API deprecation, please ask on Stack Overflow.

@calren calren closed this as completed Dec 18, 2019
@changcsw
Copy link
Author

We used Google Play Billing Library 2.0.3 in our app, and the same device and app on defferent network, when useing US VPN is normal, when useing Hong Kong the 'Google Play in-app Billing API version is less than 3' error, why? When there is error, how can the user avoid this error and pay normally ?

@LiuJCode
Copy link

我们在应用中使用了Google Play Billing Library 2.0.3,并且在不同的网络上使用了相同的设备和应用,使用US VPN正常,而在使用香港时,“ Google Play应用内计费API版本小于3”错误,为什么呢?出现错误时,用户如何避免该错误并正常付款?
Encountered the same problem as you, how did you solve it

@maclir
Copy link

maclir commented May 26, 2020

But it seems like if you're not logged in on google play, this error is thrown even if you're on the latest version.

@songliao-branch
Copy link

But it seems like if you're not logged in on google play, this error is thrown even if you're on the latest version.

That's also my issue here. This error message is misleading!

@wasiliysoft
Copy link

Has anyone solved this problem? I faced a situation when a user cannot pay for an application for political reasons, I provided him with a free promotional code, he successfully activated it in the application store and now my application gives him exactly the same error as yours. Any ideas how to solve this?

@Turnsole
Copy link

This issue is giving me a huge headache trying to support customers in Australia and Singapore. They're frequently unable to access purchasing despite having fairly new Android devices and valid Google Play accounts. "Google Play In-app Billing API version is less than 3" is a completely incorrect error code and wasted a lot of our time trying to debug the issue.

@claudioredi
Copy link

@Turnsole have you identified a root cause for this problem? The error description is totally misleading and I'm also having hard time identifying the issue as I cannot reproduce it locally unless I try on a simulator without any google account.

Provided the amount of users having this issue im prod, it's impossible to be the same reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants