We've detected this app uses an unsupported version of Play billing... Huh??

I’m really confused. I uploaded a new version of my game to the google play console today, and I got this error :

“We’ve detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 4 or newer to publish this app.”

I uploaded the same game a few days ago with no issues and I have made no changes to the in app purchase stuff.

I’ve been googling and it looks like they want the “com.unity.purchasing” package to be at least version 4.

If I open up my manifest.json file I see this :

“com.unity.purchasing”: “4.1.5”

So I think I should be good. What am I missing?

Thanks!

You would need at least IAP 4.4.0 or above which includes GPBL v4

Hmm, the package manager claims I have the latest version. Is there a trick to get 4.3.0?

1 Like

Expand the dropdown arrow to see other versions. Otherwise you may need to add the package by name as described here: https://discussions.unity.com/t/632966 page-2#post-8386932

Ok, the dropdown doesn’t show any versions newer than mine. I checked out your link and it says to download the package by name… but I dont appear to have that option…

8403474--1109715--upload_2022-8-30_17-14-2.png

1 Like

Looks like by Git url works the same way. You would need Unity 2021+ to see “by name”

Ok, I tried choosing “git url” and I entered “com.unity.purchasing”. I can see it refreshes the packages and nothing changed. I still have version 4.1.5.

For fun I tried entering “com.unity.purchasing > 4.4.0” and I can see in the console :
Cannot perform upm operation: Unable to add package [com.unity.purchasing > 4.4.0]:
So clearly the first command successfully did something.

Do I have any other options? I literally cannot upload my game right now because of this version issue.

I do see online some git repo’s claiming to have version 4.4.1of iap… but obviously I can’t trust those…

2 Likes

What version of Unity are you using?

2019.4.40f1

I tested with that version and see the same thing. I also tried manually updating manifest.json without luck. It looks like you’ll need to upgrade Unity to at least version 2020.3.38f1 or above

Ugh, last time I tried to upgrade my game to a newer version there was a ton of compatibility issues… oh well… guess I have no choice.

You’d think that means no one can use this version of unity if you have in app purchases…

1 Like

Is there any documentation where I can convert the equivalent version of Unity IAP to the Google Play Billing Library version?

Had the same problem today on 2021.3.5f1, version 4.1.5 was the latest available package version. Updating to the latest 2021 LTS version automatically updated the IAP package to 4.3.0.

1 Like

I seem to be getting the same “We’ve detected that this app uses an unsupported version of Play Billing. Please upgrade to Billing Library version 4 or newer to publish this app.” error message on Google Play’s end even after updating “com.unity.purchasing” package to 4.3.0.

Edit: On 4.4.1 I no longer get the error message.

1 Like

You are correct, my mistake. GPBL v4 was added in IAP 4.4.0 not 4.3.0, sorry for the confusion https://discussions.unity.com/t/632966 page-2#post-8319519

Isn’t 2019.4. supposed to be a LTS version? Being unable to have IAPs seems pretty contradictory to that.
The page listing for the LTS versions also says this:
Unity 2020.3 is now the legacy LTS; it will be updated monthly until it reaches the end of its support cycle in mid-2023.

So I should upgrade to a version that won’t be around for long? This can’t be it.

5 Likes

Unfortunately long-term is only a few years in this space. You should update to 2021 LTS. If at all possible, you should be updating LTS versions in your project yearly as new revisions become available.

Well, already published apps will face similar fate in a few months:
From November 1, 2022, all app updates must use Billing Library version 4 or newer.

I’m also on 2019 LTS. Do you plan to release an update to the purchasing plugin within the given timeframe for Unity 2019?

Problem fixed here :

3 Likes

I had these 2 problems when following your instructions.

Library\PackageCache\com.unity.purchasing@4.4.1\Runtime\Purchasing\Telemetry\TelemetryQueue.cs(19,23): error CS1525: Invalid expression term ‘=’

Library\PackageCache\com.unity.purchasing@4.4.1\Runtime\Purchasing\PurchaseFailureDescription.cs(1,2): error CS1024: Preprocessor directive expected

Do you have a solution?