non consumable issue

Changsuk OhChangsuk Oh Member, PRO Posts: 26

I made a non consumable item inside my ios game. When click this item button, app store password window is opened. I enter password but nothing is happend. I can't solve this problem. Please help me. (I didn't check apple hosting in itunes connect)

Comments

  • colandercolander Member Posts: 1,610

    There is a video in the list here called "New IAP Behaviors" it will answer your question.

  • ArmellineArmelline Member, PRO Posts: 5,397

    How are you testing it? Did you make an ad hoc build and install it on your phone through Xcode, or did you use Apple's Testflight? It's possible you're testing a build that IAP won't work in.

    Also possible, is that you've not set anything to happen. Have you checked your logic for a completed purchase? Perhaps check if column 5 of the appropriate row in the PurchaseTable is changing to "purchased" by using a display text. If it is, the problem is in your logic.

  • Changsuk OhChangsuk Oh Member, PRO Posts: 26

    @Armelline‌ this is my logic. I tested a IAP in published game. My game is on the App Store. http://itunes.apple.com/app/id942889215

  • colandercolander Member Posts: 1,610

    Make sure you typed your Product ID in the box, do not open the Expression Editor.

  • Changsuk OhChangsuk Oh Member, PRO Posts: 26

    @colander Please more detail explain...

  • ArmellineArmelline Member, PRO Posts: 5,397

    What @colander means is that you need to type the purchase ID directly into the box and not open the expression editor (by pressing the "e"). Same for the "purchased".

    Your purchase, according to the post title, is non-consumable, so you don't need to consume the item. Not sure what affect that will actually have, though.

    First thing I'd try would be pushing a build through TestFlight that displays the state of column 5, confirm it is indeed changing to purchased.

  • Changsuk OhChangsuk Oh Member, PRO Posts: 26

    @Armelline‌ I try to change my logic and test again. Thank you. :)

  • ginko1969ginko1969 Member Posts: 16

    I have a similar problem to @Changsuk Oh's. I will implement a bit of debugging log to understand why the IAP behaviours seem to do nothing a part from presenting the user login panel.

    I have noticed that after the user enters her credentials, the screen refreshes. Do you know whether the IAP behaviours force a scene reset when the app takes the control back from iOS?

    Thanks for your help,
    G

  • ArmellineArmelline Member, PRO Posts: 5,397

    @ginko1969 said:
    I have noticed that after the user enters her credentials, the screen refreshes. Do you know whether the IAP behaviours force a scene reset when the app takes the control back from iOS?

    They shouldn't.

Sign In or Register to comment.