Test Sandbox test account re-requests password for iOS In-App Purchase

I have developed an application in Swift language. I have added in-app purchases to remove ads. I also created a sandbox account. But then I forgot the information about this account. (I'm not sure about the information) The password entry screen is still displayed on the flashing screen. Even if I reset the device and reboot it, it didn't do any good. In fact, everything works correctly. This is my only problem. What should I do. I'm glad you helped me. Thank.

enter image description here

+3


source to share


2 answers


First of all, whenever you work with IAP

and try to purchase any service, at this time Apple will ask for your iTunes account password or work with a sandboxed account. if you enter a password and continue service, it will be available to you.

another, then if you have not set up your account on your device and are not trying to download something from the store, at this time Apple will ask you to set a password or account.



As you described in your case, you forgot your sandbox test account password. and you won't be able to execute IAP

so that you can cancel the password popup every time. you can continue to create another sandbox account or set a temporary account for the Apple account from the device settings to avoid the password popup. and what I observe is sometimes with sandbox testing AIP

even after purchase a few times when the popup is paper but it doesn't make your buy call again. sometimes it scares me, but it does not affectIAP

Hope it helps you.

+1


source


I had this problem. If you have not completed transactions (for whatever reason), they remain in the queue. And you will have a problem with the constant "Enter Screen".

SKPaymentQueue.default().finishTransaction(transaction)

should be placed at the end:



restore(transaction: SKPaymentTransaction)
fail(transaction: SKPaymentTransaction)
complete(transaction: SKPaymentTransaction)

      

This fixed my problem. Hope this helps you.

0


source







All Articles