Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"in-app billing version 3 NOT supported" with up to date Play Store

I'm integrating in-app billing to my Xamarin.Android application. I tested the API using Google test products (android.test.purchased and others) and it worked just fine. After doing some testing I started receiving the following error on the OnInAppBillingError event.

ERROR: In-app billing version 3 NOT supported for com.example.appname

com.example.appname is the bundle id of my app.

I found this error on the internet (this is the closest match) and the solution is to update Google Play Client. I have the latest possible GPC (version 5.9.12).

The weird thing is that I started receiving this error after some successful tests. And I receive it even when my phone is not connected to the internet. This suggest that the billing SDK is checking for something missing on my phone.

For the first round of tests I used a MotoG 1st Gen running Android 4.4.4, and Google Play Client 5.9.12 (this is the test that first worked and then error started showing). Then I decided to use two more devices and it worked on a Samsung S4 (Android 4.4.2, GPC 5.9.12) and failed again on a Samsung S2 (Android 4.1.2, GPC 5.7.10).

EDIT: After a few days the error started showing on the Samsung S4 (didn't make any changes to the billing code, it just stopped working). I also used a Samsung S5 without luck.

like image 876
rareyesdev Avatar asked Oct 16 '15 22:10

rareyesdev


People also ask

How to fix google play in app billing api version is less than 3?

Are you logged in to the correct Google Account on the device/emulator? Try logging out and logging back in. If you're testing on an emulator, can you confirm that it has Google Play installed? Try restarting the device/emulator.

What is Android app billing?

Google Play's billing system is a service that enables you to sell digital products and content in your Android app. You can use Google Play's billing system to sell a one-time product or subscriptions on a recurring basis.


2 Answers

I get In-app billing version 3 NOT supported error when the user is not signed into google play. Ensure a user is logged into google play on the device.

like image 119
jaybers Avatar answered Sep 20 '22 10:09

jaybers


Try "Clear Data" and then "Force stop" for Google Play app.

like image 34
klimat Avatar answered Sep 21 '22 10:09

klimat