Can you test iap's before uploading to the App Store?
benrogers213@yahoo.co.uk
Member, PRO Posts: 14
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
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.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
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?
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
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
Thanks for the reply @stueynet I didn't realise it was just for external testers. I thought it was done for all.
@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
@stueynet will it charge me? Will it allow me to test one buy consumables more than once?
@stueynet also thanks for the patience and help. I am very new to this process
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
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.
I like the GameSalad iOS Viewer. It's quicker than upload to itunes connect and you can test almost everything even iAd.
my apps:
https://itunes.apple.com/us/artist/firas-alhasnawi/id1015468746