needle-mirror / com.unity.purchasing

[Mirrored from UPM, not affiliated with Unity Technologies.] 📦 IMPORTANT UPGRADE NOTES:If updating from Unity IAP (com.unity.purchasing + the Asset Store plugin) versions 2.x to version 3.x, complete the following actions in order to resolve compilation errors: 1. Move IAPProductCatalog.json and BillingMode.jsonFROM: Assets/Plugins/UnityPurchasing/Resources/TO: Assets/Resources/. 2. Move AppleTangle.cs and GooglePlayTangle.csFROM: Assets/Plugins/UnityPurchasing/generatedTO: Assets/Scripts/UnityPurchasing/generated. 3. Remove all remaining Asset Store plugin folders and files in Assets/Plugins/UnityPurchasing from your project.PACKAGE DESCRIPTION:With Unity IAP, setting up in-app purchases for your game across multiple app stores has never been easier.This package provides: ▪ One common API to access all stores for free so you can fully understand and optimize your in-game economy ▪ Automatic coupling with Unity Analytics to enable monitoring and decision-making based on trends in your revenue and purchase data across multiple platforms ▪ Support for iOS, Mac, tvOS, Google Play, Windows, and Amazon app stores(*). ▪ Support to work with the Unity Distribution Portal to synchronize catalogs and transactions with other app stores ▪ Client-side receipt validation for Apple App Store and Google PlayAfter installing this package, open the Services Window to enable In-App Purchasing to use these features.
https://docs.unity3d.com/Packages/com.unity.purchasing@4.9/manual/index.html
Other
29 stars 8 forks source link

Error CS0246: Could not find type or namespace name 'IGooglePlayStoreRetrieveProductsService' (Are you missing a using directive or assembly reference?) #3

Open chadwi opened 6 months ago

chadwi commented 6 months ago

When I imported this package, I received this error.

Error CS0246: Could not find type or namespace name 'IGooglePlayStoreRetrieveProductsService' (Are you missing a using directive or assembly reference?)

com.unity.purchasing-4.10.0\Runtime\Stores\Android\GooglePlay\GooglePlayStore.cs(10,18): error CS0246

Unity 2021.3.21 f1

TuanDevGP commented 2 months ago

Me too...I received a warning from gg update Google Billing version 7 and above https://developer.android.com/google/play/billing/migrate-gpblv7

kaikristo commented 1 month ago

Try to completely reinstall iap + reconnect to services. It's works for me.