How do I disable or remove Google Play Billing Library?

Google says I need to update Google Play Billing in my Unity game.

But I don’t have any in app purchases in any of my games.

Why would they ask me that?

Is a Play billing library automatically included by Unity in my builds? And if yes, can I disable or remove that?

Even we noticed IAP is enabled by default in recent unity versions which is unfortunate!
Hope IAP team enables it only on preference.

To fix it, remove the In-App Purchasing package from Package Manager or remove
“com.unity.purchasing” entry from Packages/manifest.json file

1 Like

Thank You.

I don’t have the In-App Purchasing package in Package Manager or “com.unity.purchasing” entry in Packages/manifest.json file (screenshots attached)

I updated to Unity 2022.3 but I still get this error

We’ve detected that one or more of the app bundles included in this release are using the following Play Billing Library versions

  • 3.0.3

These are unsupported versions of Google Play Billing. Upgrade to a supported version to publish this app. Learn More.

9492232--1336225--Screen Shot 2023-11-24 at 10.26.40 PM.jpg 9492232--1336228--Screen Shot 2023-11-24 at 10.29.28 PM.png

If you are not having it listed in the packages, most likely you have very old plugin of unity iap in your project. Search for “purchasing” and see if you can find any folder and delete it.

1 Like

Thank you so much. This solved my problem.

I did a search for “purchasing” and two files showed up in my project panel.

I use Play Asset Delivery (PAD) from Google to deliver apps larger than 200mb to the Google Play store

https://developer.android.com/guide/playcore/asset-delivery

I put the entire asset in my project but I didn’t need the folder for Play Billing. I deleted it, rebuilt with PAD and the game was accepted.

This was stressing me out and this is why I appreciate forums - your help made a difference.

1 Like

Glad was helpful!
Keep giving back what ever you got from this community :slight_smile: