Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why does purchase fail even though it is shown as success from iOS system?

Discussion in 'Unity IAP' started by Kobald-Klaus, Oct 17, 2020.

  1. Kobald-Klaus

    Kobald-Klaus

    Joined:
    Jun 20, 2014
    Posts:
    127
    The iOS purchasing window opens with correct price, I enter password, get some popups ending with
    „you are not elegible to purchase in sandbox“ then I get the PurchaseFailed method called.
    the product has no receipt.
    Might it be caused by the subscription product still sitting in „review“ in the developer console?

    I am using the latest IAP 2.1.1 with codeless interface.
     

    Attached Files:

    Last edited: Oct 18, 2020
  2. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    626
    please check whether you have configured the sandbox tester account correctly.

    https://docs.unity3d.com/2018.1/Documentation/Manual/UnityIAPAppleConfiguration.html
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Make sure the Sandbox account and your developer account are not the same.
     
  4. Kobald-Klaus

    Kobald-Klaus

    Joined:
    Jun 20, 2014
    Posts:
    127
    all answers are nice but the most important thing is not mentioned anywhere!

    on apple: product has to be approved by Apple first
    on google: Users email has to be added to "Licence testing"

    So no need to have extra sandbox users!
     
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, those steps are also required, it was assumed your products were approved. Glad you found your issue.