Search Unity

Binary Rejected : InApp Purchase & receipts

Discussion in 'iOS and tvOS' started by sama-van, Apr 1, 2020.

  1. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    Unity 2020.1b3

    Well I just been rejected by apple :

    Then also sent a screenshot which I cropped :
    Screen Shot 2020-04-01 at 20.18.41.png

    App is working fine on android, and app already on the GooglePlay store.

    We also do not have any problem using user test from the iOS build on devices.
    Able to get the product detail from apple server, buy the non-consuming product, kill app, reinstall and restore purchase as well...

    Really no idea why apple is having this message... any idea? o_O... it's actually a first...

    Thank you! :)
     
    Last edited: Apr 1, 2020
  2. EbonDust

    EbonDust

    Joined:
    Oct 8, 2013
    Posts:
    50
    It seems I'm having a similar/same problem. I got rejected recently by apple twice with: Guideline 2.1- In-App Purchase would not complete. Everything seems to be working fine on test flight but for some reason, it is not during the review. Checking my analytics data it seems the purchase failed with the reason: Unknown. So not much help there.
     
  3. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  5. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    Actually... I do not... had no idea. ...
    I will dig into it right mow then, thank you! :)

    So far I am doing it in the very basic way I believe...
    Been using Prime31 plugin years ago, then back on rail with Unity services :D
    If by chance you could maybe double check those 3 pictures below if I didn't make it wrong...

    Screen Shot 2020-04-03 at 13.17.22.png Screen Shot 2020-04-03 at 13.18.43.png Screen Shot 2020-04-03 at 13.21.18.png

    Thank you!
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Unfortunately you can't easily do receipt validation with Codeless IAP. When we first developed and released Codeless IAP, Apple did not require receipt validation. You could directly edit IAPButton.cs but is not supported, and your changes could be overwritten when you upgrade IAP if you're not careful. You would be advised to use IAP scripting instead, as used in this IAP Sample Project https://forum.unity.com/threads/sample-iap-project.529555/
     
    sama-van likes this.
  7. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
  8. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  9. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
  10. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    sama-van likes this.
  11. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    Ah yes sorry, I was talking about Apple support.
    I also juste replied to that message as well :)
     
  12. EbonDust

    EbonDust

    Joined:
    Oct 8, 2013
    Posts:
    50
    So a little update from me, maybe it will help people having the same issue in the future. Yes, I'm using local receipt validation. I was rejected for in-apps not working twice after with I asked reviewer on resolution center to provide me with some logs because the app works fine on testfight. Instead of a reply, two days later my game changed status from rejected to in a review and 6 days later was approved for the App Store. Because of this, I can safely conclude that it was a problem with Apple's configuration of the testing environment. Because I was rejected twice I assumed it was a problem on my side and wasted a lot of time searching for a fix. I found some threads with people reporting they had the same/similar issue. Unfortunately, they never provided updates if it was resolved and if yes how. So here is my update.
     
  13. brunoschalch

    brunoschalch

    Joined:
    Feb 4, 2017
    Posts:
    2
    THANK YOU for taking the time to write this. I went through the exact same thing and your experience saved me a lot of time and anxiety.