[Solved] Updating UnityIAP to 1.12.0: The type or namespace name `IStoreListener' could not be found

Hello, I recently up Unity IAP from v 1.11.4 to v1.12.0 and I have been shown following errors in unity console:

Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(8,43): error CS0246: The type or namespace name IStoreListener' could not be found. Are you missing an assembly reference? Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(10,17): error CS0246: The type or namespace name IStoreController’ could not be found. Are you missing an assembly reference
Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(11,17): error CS0246: The type or namespace name IExtensionProvider' could not be found. Are you missing an assembly reference? Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(146,28): error CS0246: The type or namespace name IStoreController’ could not be found. Are you missing an assembly reference?
Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(146,57): error CS0246: The type or namespace name IExtensionProvider' could not be found. Are you missing an assembly reference? Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(158,33): error CS0246: The type or namespace name InitializationFailureReason’ could not be found. Are you missing an assembly reference?
Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(165,9): error CS0246: The type or namespace name PurchaseProcessingResult' could not be found. Are you missing an assembly reference? Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(195,31): error CS0246: The type or namespace name Product’ could not be found. Are you missing an assembly reference?
Assets/Driver (TrafficSystem)/MyScripts/IAPManager.cs(195,48): error CS0246: The type or namespace name `PurchaseFailureReason’ could not be found. Are you missing an assembly reference?

Additionally, when I open the IAPDemo script any my implemented IAP script, both scripts couldn’t find IStoreListener. I think, that’s the reason for all these errors. Please help.

Thanks a lot!

Can you confirm that when you go to the Services tab in the Editor, and click on In-App-Purchasing, you see “Unity IAP is up to date” near the bottom? If it says “Update Available”, then choose to update. I was getting the same error until I did so. I’m using Unity 2017.1.0f3.

1 Like