Search Unity

[Solved] Unity IAP not clearing/refreshing the app receipt after a purchase (iOS)

Discussion in 'Unity IAP' started by Nicolas1212, May 18, 2016.

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

    Nicolas1212

    Joined:
    Dec 18, 2014
    Posts:
    139
    After a purchase is validated, if you read the app receipt, the purchase is still in the inAppPurchaseReceipts array as if it was pending. Even after relaunching the app, this is the case. You need to specifically call RefreshAppReceipt() to clear it out. Is this normal?

    I've submitted this as a bug - I'll update with the bug number if you wish for a repro project
     
  2. Banderous

    Banderous

    Joined:
    Dec 25, 2011
    Posts:
    669
    Yes this is how Apple have designed their API -

     
    Last edited: May 19, 2016
    erika_d likes this.
  3. Nicolas1212

    Nicolas1212

    Joined:
    Dec 18, 2014
    Posts:
    139
    Ah, OK, thanks!
     
Thread Status:
Not open for further replies.