In app purchase

ElemetAppsElemetApps Member, PRO Posts: 55

Hey!
So im finished with my game that I have been working on for a long time, the in app purchases work on Android. But on Apples products they dont work, atleast thats why it was rejected on the app store. Can some one point me to a good up to date tatorial on Consumable In app purchasing? Or tell me why it would work on Android and not Apple?

Thank you!

Comments

  • dapiondapion Member, PRO Posts: 353

    Do you have tested your iAP on TestFlight?

    I prefer this tutorial...

    https://youtube.com/watch?v=x0B3RX8TU3I

  • ElemetAppsElemetApps Member, PRO Posts: 55
    edited February 2018

    I figured it out now. I changed it from "is purchased" add 1000 coins to "contains purchased " add 1000 coins. Now it works.
    Thanks though!

  • ArmellineArmelline Member, PRO Posts: 5,397

    This will cause it to trigger the purchase both when the purchase table reads "purchased" and when the purchase table reads "unpurchased." This will cause problems.

  • ElemetAppsElemetApps Member, PRO Posts: 55

    What should i do then, because it isnt working when i just have is purchased.

  • ArmellineArmelline Member, PRO Posts: 5,397
    edited February 2018

    @ElemetApps said:
    What should i do then, because it isnt working when i just have is purchased.

    If it works on Android it should work on iOS. Post a screen shot of the logic you're using and I'll see if anything looks out of place.

    You're testing via TestFlight and have signed all the contracts in iTunes Connect and have entered all your bank details?

  • dapiondapion Member, PRO Posts: 353

    Just tested a Game on Testflight with iAP and it works fine for me.

    I can remember, there was a problem with the expression.
    Maybe it helps, if you type „purchased“ directly into the text field.

Sign In or Register to comment.