views:

222

answers:

2

My in app purchase project working perfectly now, but I need to test purchasing and when once purchase is successfully done it cannot be undone? How can I test in app purchasing and upgrading my app to full version when it can be done just one time?

A: 

Use unit tests on your app, with false data, until you're satisfied.

(create test code - for each module you use)

I think I'll need more description of your process to have a better answer.

Dani
I mean, if there's some possibility to reset purchases of test user. How else I can test for example interruption of application in the middle of purchasing process? Have more test users accounts?
Branislav Beno
A: 

If you delete your app and reinstall it, you can repurchase products. It follows the same code flow and nearly exactly the same user experience (there is a dialog letting you know that you can repurchase for free the second time). Also you can create more test users in iTunes Connect to be sure that you are doing completely clean testing.

I've spent several weeks deleting and reinstalling my app many times per day to ensure that my storekit implementation works just like I want it too.

Carl Coryell-Martin