Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved IAP gives Unavailable Product error when installed from Google Play

Discussion in 'Unity IAP' started by QuilloGames, Mar 30, 2023.

Thread Status:
Not open for further replies.
  1. QuilloGames

    QuilloGames

    Joined:
    Jul 31, 2017
    Posts:
    17
    I am using Unity "coded" IAP. It works well when I install the apk directly from Android.
    But when I uploaded the aab to the Internal Testing of Google Play, the app IAP code runs to OnInitializeFailed and give the error of Unavailable Product for all product IDs.

    Setup I have done for IAP:
    • Setup all the products in Unity IAP Catalog.
    • Added the products to the In-App Products in Google Play Console, which the directly install apk can call up the Android IAP window when a purchase button is clicked.
    • Used the SHA-1 provided by Google Play Console in the Google Cloud Platform, so the aab downloaded from Google Play can successfully sign in Google Play Service. But it cannot load the IAP products..
    Thank you for any help.
     
  2. QuilloGames

    QuilloGames

    Joined:
    Jul 31, 2017
    Posts:
    17
    Problem solved I found out it was a stupid mistake. I simply forgot to roll out the new build in Google Play Console.
     
    Laurie-Unity likes this.
Thread Status:
Not open for further replies.