App Purchase Sandbox

I am testing in app purchases in my app right now. I have set up my test accounts in the sandbox on iTunes connect. I am able to sign out of the app store from Settings, then go through the purchase flow on my device with no problems. It prompts for login, I use Existing Account, enter the sandbox test user credentials and am able to purchase or restore products.

The problem is that throughout my session and also when I am bringing the app back from the background, I am continually prompted to re-enter the iTunes app store password. The dialog has my test user id pre-filled and is asking for the password. It also happens when my app is in the background and I am using other apps. Hitting Cancel from here doesn't seem to affect anything negatively.

I am running iOS 7.

Is there something I might be doing wrong with SKPaymentQueue to cause the prompt to be showing again?

Is this only a sandbox issue?


I was running into this. I realized I was not calling finishTransaction.

[[SKPaymentQueue defaultQueue] finishTransaction:transaction];
链接地址: http://www.djcxy.com/p/16134.html

上一篇: 是否有可能在ETW中继承EventSource?

下一篇: 应用程序购买沙盒