views:

385

answers:

2

I'm implementing an in app purchase for an iPhone app. All is good - store kit is very easy to use and everything is working after few hours of programming.

Problem is : my product is non consumable, thus once I bought it, the app store always says that I already have it and does not let me test the payment again, it just calls transaction restore method.

Again : it's a NON consumable product.

Anybody knows how can I delete my purchase of that product, so I can test the payment again?

(without registering new test account, or other funny workarounds)

+1  A: 

I don't think you can do exactly what you want to do. You might find SimStoreKit useful for testing, but to do it with the real test store, I think you would have to create a new user.

lemnar
That's a good hint ! I couldn't find any description of what simstorekit does, but the name implies what should do... definitely great link ! if it works well I guess might be the answer
Ican Zilb
There isn't much documentation, but it's a "simulated version of the iPhone's StoreKit, for testing store UIs on the iPhone Simulator, or even on device without having to set up IAP in Connect." You define your products in a plist, set the ILSimSKProductsPlist environmental variable, and #define ILSimReplaceRealStoreKit if you want it to replace the SK* classes with ILSimSK* ones.
lemnar
I'm testing the SimStoreKit for few days now. Runs like a charm on the Simulator (Emanuelle already fixed some stuff I reported), but still can't compile and run it on the device ... however looks good this far, but compile for the device is crucial for me
Ican Zilb
A: 

Ican, were you ever able to find a "real" solution to this? I'm having the same problem. That is, can you "un purchase" an item or "reset" a test user account?

Any hints are appreciated. I don't want to keep adding new test users...

Stuart Rubin
No real solution my man ... Create test product which you can purchase multiple times to test with. Or give the SimStoreKit a try, after few days of hassle I managed to get it working both simulator and device, and used it till the end of the development - it's great
Ican Zilb