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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Closed] Unity IAP Problem with iOS Sandbox

Discussion in 'Unity IAP' started by gilberto_lumentech, Mar 30, 2017.

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

    gilberto_lumentech

    Joined:
    May 6, 2016
    Posts:
    10
    I'm having issues with sandbox testing on iOS. It started yesterday (2017-03-29). Any purchase with our sandbox accounts are falling on OnPurchaseFailed, with PurchaseFailureReason Unknown.

    UnityVersion: 5.5.2f1
    IAP Version: 1.10.0

    Even our old builds started to fail (only with Sandbox accounts).

    Can you guys give me a sight on it?
     
  2. Galen_Relish

    Galen_Relish

    Joined:
    Oct 7, 2016
    Posts:
    4
    We seem to be experiencing the same issue today. We just spent the last few days removing Consumable packs and adding Non-Consumable IAPs. When testing started today we discovered that any purchase in a sandbox environment or through Testflight fails immediately after entering credentials into the iOS OS popup. I've attached the Unity IAP logs printed using NSLog from the file UnityPurchasing.m. We added some of our own log statements to that file and determined that in the

    paymentQueue: updatedTransactions: function, our transaction has a transactionState of SKPaymentTransactionStateFailed with error code 0 (unknown).

    We had 2 purchases that seemed to make it through to the store at the beginning of the day and properly get restored when restoring transactions. In addition, we know that the purchasing system is being initialized properly from a) the logs posted and b) products are correctly being pulled from iTunesConnect. We're hoping that maybe something with Apple's sandbox purchasing flow or servers is amiss but can't be sure.

    Unity Version 5.5.0f3
    IAP Version: Tried with both 1.9.3 and 1.10.0
     

    Attached Files:

  3. Gametyme

    Gametyme

    Joined:
    May 7, 2014
    Posts:
    617
    Im sure its apple as everything was working fine until today for me as well.
     
  4. tbiz5270

    tbiz5270

    Joined:
    Sep 11, 2014
    Posts:
    17
    Having the exact same issue. Glad i'm not the only one :). Have been trying to figure it out all day...
     
  5. fire1991man

    fire1991man

    Joined:
    May 31, 2013
    Posts:
    18
    i hope unity will fix
     
  6. Gametyme

    Gametyme

    Joined:
    May 7, 2014
    Posts:
    617
    Not a unity issue.
     
  7. fire1991man

    fire1991man

    Joined:
    May 31, 2013
    Posts:
    18
    arhhhhh , what problem in IAP IOS 10.3 ? i dont know how to fix
     
  8. TwinsGames

    TwinsGames

    Joined:
    Jun 9, 2015
    Posts:
    1
    we are having the same damn problem. We get the message if we want to by the item and once we confirm nothing comes up, even the confirmation response if it was working or not. 2 days before was working fine.
    idk
     
  9. hantengx

    hantengx

    Joined:
    Mar 13, 2017
    Posts:
    10
    Having same problem。And seem not only sandbox.
     
  10. moonabook

    moonabook

    Joined:
    Dec 4, 2014
    Posts:
    4
  11. hikarusan

    hikarusan

    Joined:
    Jan 5, 2017
    Posts:
    9
    We are having same issue, but not in sandbox, but live. What is going on.
     
Thread Status:
Not open for further replies.