Hey!
I’ve just updated IAP to 4.12.0 from 4.11.0 and I see this warning is coming up now at start of the application, when purchases are being fetched during initialization. This was not coming up with 4.11.0.
Besides that warning, everything looks to be working fine. It initializes fine and processes deferred purchase fine as well. Also both purchasing and our validation that is happening on our server is working fine. So I am not sure what that warning is meant to represent.
1 Like
Hello Ghetaldus,
I’m seeing 2 possible cases:
- This is called on a product that was not purchased
- This is called before the products are retrieved from the store, so the transaction id wasn’t set in the Product.transactionId yet
Could you confirm if it’s one of these cases?
Otherwise, would you have more information on how to reproduce?
I am initalizating purchasing myself and this happens before OnInitialized fires off, so yes, this is called before products are retrieved from the store.

But it seems to be called by your plugin, since I am not doing anything else but creating a builder, adding our products to it and then calling UnityPurchasing.Initialize.
Also to add, this warning does not come up in 4.11.0 or any older versions that we were using before.
Here is our initialization code:
public void InitializePurchasing()
{
if (IsInitialized() || sIsInitializing)
{
return;
}
sIsInitializing = true;
// Create a builder
sBuilder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());
// Add products
foreach (IAPProduct pd in GameSettings.InAppPurchasing.Products)
{
sBuilder.AddProduct(pd.Id, GetProductType(pd.Type));
}
if (Application.platform == RuntimePlatform.Android)
{
if (GameSettings.InAppPurchasing.TargetAndroidStore == IAPAndroidStore.GooglePlay)
{
sBuilder.Configure<IGooglePlayConfiguration>().SetDeferredPurchaseListener(OnGooglePlayDeferredPurchase);
}
}
// Initialize
UnityPurchasing.Initialize(sStoreListener, sBuilder);
}
We were able to reproduce and fix this issue!
It will be released in IAP 4.12.1
Perfect, looking forward 4.12.1.
