Can you test iap's before uploading to the App Store?

Hi all,

This is my first game, and first post. I have run into a snag. I have some iap's in my game and am having trouble testing them. When I test in viewer they trigger a not supported message and so I figured I would have to upload to the App Store and test with test flight. When I tried this apple rejected it as the iap's did not work. I do not know how to work around and fix this without having to upload to iTunes connect every time. Very frustrating. Is there any way to test before going to test flight?

Many thanks.

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    you need to make sure your account is in sandbox mode. try logging out of gamecenter via settings and login using one of your test accounts you configured in iTunesConnect.

  • benrogers213@yahoo.co.uk[email protected] Member, PRO Posts: 14

    Thanks for the swift reply. I have heard of sandbox mode and did set up a sandbox account in iTunes connect but had (and still don't) no idea of how to do this. Do I just log out of Game Center or also out of iTunes and the App Store?

  • stueynetstueynet TorontoMember Posts: 166

    You don't need sandbox mode or game center for iap. Just make sure the iap is set up in itunesconnect. Make sure it's set up in your game. Push the build to testflight. Test there. It will work with your real account. No need for sandbox.

    My Latest GS Game - Tiny Spirit
    My First GS Game - Dashing Ralph

  • stueynetstueynet TorontoMember Posts: 166

    Also you don't have to wait for approval for testflight apps. Only for external user testing.

    My Latest GS Game - Tiny Spirit
    My First GS Game - Dashing Ralph

  • benrogers213@yahoo.co.uk[email protected] Member, PRO Posts: 14

    Thanks for the reply @stueynet I didn't realise it was just for external testers. I thought it was done for all.

  • benrogers213@yahoo.co.uk[email protected] Member, PRO Posts: 14

    @stueynet I finally have it open in test flight, thanks. However when I try to test my iap's it asks for my iTunes password. I thought test flight was meant to work around things like that

  • stueynetstueynet TorontoMember Posts: 166

    @benrogers213@yahoo.co.uk said:
    stueynet I finally have it open in test flight, thanks. However when I try to test my iap's it asks for my iTunes password. I thought test flight was meant to work around things like that

    Nope. You need to enter your password.

    My Latest GS Game - Tiny Spirit
    My First GS Game - Dashing Ralph

  • benrogers213@yahoo.co.uk[email protected] Member, PRO Posts: 14

    @stueynet will it charge me? Will it allow me to test one buy consumables more than once?

  • benrogers213@yahoo.co.uk[email protected] Member, PRO Posts: 14

    @stueynet also thanks for the patience and help. I am very new to this process

  • stueynetstueynet TorontoMember Posts: 166

    You won't be charged since the app is not live. As far as testing, consumables by definition can be bought more than once. If you mean non-consumables, then no once you buy it you have bought it. If you try to buy it again, it will tell you that you have already bought the item and asks if you wish to purchase it for free. As it would in real life.

    My Latest GS Game - Tiny Spirit
    My First GS Game - Dashing Ralph

  • trashdinner@hotmail.com[email protected] Member Posts: 36

    mmm this is weird cause It doesn't work for me .. I set up the IAP code and nothing happens when I press the buy button on my real account.

  • ffatopffatop Member, PRO Posts: 37

    I like the GameSalad iOS Viewer. It's quicker than upload to itunes connect and you can test almost everything even iAd.

Sign In or Register to comment.