Purge Transactions

Is there anyway to purge transactions when testing IAP?

I am having some really weird results and I can’t seem to clear it.

I am testing IAP and have made multiple test accounts on iOS Connect while testing. A few “test” purchases are still popping up when launching the app, asking for credentials for an old iOS test user (that I have since deleted). Deleting the app and even the profile on the device doesn’t stop it.

If the App is on my phone, I don’t even have to start the app, just unlocking my phone and it will sometimes ask me for my iTunes credentials for this old account to “finish” a transaction.

I just want to purge all pending transactions and start over. I don’t want to be asked over and over for old credentials (for users that don’t even exist) to complete transactions (that likely didn’t get store.finishTransaction() called properly).

[import]uid: 160288 topic_id: 34937 reply_id: 334937[/import]

I’ve not been able to find a way to purge or clear old transactions. You cannot be logged in to an account from your device. Go to the Settings app, scroll down to “iTunes & App Stores” and open that option. Make sure the “Apple ID” is empty, if it shows an account tap on it and “Sign Out”. Do not login to any test account.

Run your app. It should prompt you to login. This is where you use your test account. Any data returned by the sandbox store should be data for this account. You will be logged into the sandbox and you won’t be able to buy any apps or do updates. Your phone might try to show you logged in to your test account on this Settings screen.

Check to make sure it’s not logged into your deleted account.
[import]uid: 199310 topic_id: 34937 reply_id: 138918[/import]

When testing IAP (on xCode, and now on Corona) I always sign out of App Store twice (one time never signs me out, second time it shows I’m signed out) and open my app. I then use “Use Existing Apple ID” and use my Test Login User.

I had created 6 users as each one would get “burnt” until I figured out it was not calling finalizeTransaction. (Submitted a bug report on this as it looks like there maybe an issue regarding events & callbacks).

But now no matter what I do, I keep getting prompted to log into old test accounts I have since deleted when the app is installed on my device. store.init() is trying to finish previous unfinished transactions and I can’t find a way to say “don’t bother”.

I have heard wiping the device is the only way to clear this out. I suspect if I blow away the app in iOS connect and do another one, it would work as well but it is tied to an App that is live in the App Store, so that’s not an option.

[import]uid: 160288 topic_id: 34937 reply_id: 138921[/import]

I’ve not been able to find a way to purge or clear old transactions. You cannot be logged in to an account from your device. Go to the Settings app, scroll down to “iTunes & App Stores” and open that option. Make sure the “Apple ID” is empty, if it shows an account tap on it and “Sign Out”. Do not login to any test account.

Run your app. It should prompt you to login. This is where you use your test account. Any data returned by the sandbox store should be data for this account. You will be logged into the sandbox and you won’t be able to buy any apps or do updates. Your phone might try to show you logged in to your test account on this Settings screen.

Check to make sure it’s not logged into your deleted account.
[import]uid: 199310 topic_id: 34937 reply_id: 138918[/import]

When testing IAP (on xCode, and now on Corona) I always sign out of App Store twice (one time never signs me out, second time it shows I’m signed out) and open my app. I then use “Use Existing Apple ID” and use my Test Login User.

I had created 6 users as each one would get “burnt” until I figured out it was not calling finalizeTransaction. (Submitted a bug report on this as it looks like there maybe an issue regarding events & callbacks).

But now no matter what I do, I keep getting prompted to log into old test accounts I have since deleted when the app is installed on my device. store.init() is trying to finish previous unfinished transactions and I can’t find a way to say “don’t bother”.

I have heard wiping the device is the only way to clear this out. I suspect if I blow away the app in iOS connect and do another one, it would work as well but it is tied to an App that is live in the App Store, so that’s not an option.

[import]uid: 160288 topic_id: 34937 reply_id: 138921[/import]