(SOLVED) Do I have to delete the Unity IAP (obsolete)? Keep receiving message for update

Hi, I don’t if this is the right place to post this. When I open my Unity editor I receive this attached popup message

7110304--848272--popup.PNG

But If I check I got this Obsolete version of Unity IAP only in my assets, not in my project.

As you can see, is not downloaded. Instead of this, I got instaled in my project the In-App purchasing asset:


In my unity menu I can check this options:

When I check the IAP Updates you see in this image, it shows me this:

And brings me to the obsolete asset in the manager to download.

I’m already testing (internally via google play) the IAP purchases and it works fine. But I’m worried about this obsolete version that will no function anymore on june. I followed this tutorial to implement the IAP purchase button:

Do I have to worry about the pop up message? Is there maybe any part of the plugin in my project?

Sorry because I’m a noob game designer using unity and it’s difficult for me to know what I’m doing.

Thank you so much for your help and support.

This is my button configuration

And this is the script:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Bolt;
using UnityEngine.Purchasing;
using System;
using UnityEngine.SceneManagement;

public class PurchaseGame : MonoBehaviour
{
    private string purchasedgame = "com.developer.game.purchasegame";
    public void OnPurchaseComplete(Product product)
    {
        if (product.definition.id ==purchasedgame)
        {
            Variables.Saved.Set("HasBoughtGame", true);
            SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
            Debug.Log("gAME Purchased");
        }

    }
   

    public void OnPurchaseFailed(Product product, PurchaseFailureReason reason)

    {
        Debug.Log("Purchase failed");
       
    }
}

The latest IAP is 3.1.0, install from Package Manager, not Services window. You’ll need Unity 2019.4 or higher. Delete /Assets/Plugins/UnityPurchasing and ignore any update messages in the Services window if you choose to upgrade, make a project backup first. It’s up to you if you want to upgrade, it will continue to work properly. If it’s not broken, don’t fix it! The message implies that future versions of IAP will be Package Manager only. Also, and for clarity, IAP doesn’t provide an option to “purchase the game” as your productID imples, but only virtual products within the game like gold coins, or a subscription to certain features. I might suggest to start with the Sample IAP Project v2 here Sample IAP Project

2 Likes

Thank you so much for the help. I will try it!