6

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)

4

2 回答 2

3

我不认为你可以做你想做的事。您可能会发现SimStoreKit对测试很有用,但要使用真正的测试商店进行测试,我认为您必须创建一个新用户。

于 2010-03-16T14:05:41.907 回答
-2
  1. 从您的设备中删除应用程序
  2. 在 XCode 的 Product 菜单中运行“Clean”
  3. 在您的设备上,前往“设置”、“商店”、“Apple ID”,然后退出
  4. 再次启动您的应用程序,因为您没有登录任何帐户,以前的应用程序内购买将无法识别,您将能够使用相同的测试用户帐户再次购买/下载它
于 2011-08-17T03:45:49.247 回答