i am testing my application in-app purchases with iTunes test account.
I run the game and i log-in to sand box test account.
when try to buy something in the app a message box prompt me with confirm your in-app purchase information.
Then I click “Buy” it ask me for Apple ID Password for my sand box account. When I give the password it prompt me with following message ...
Your Apple ID has been disabled.
[Environment: Sandbox]
I tested with several test accounts same result. Can anyone provide some help on this?
If you use sandbox IAP test accounts to login to real iTunes Store or in Settings app, your sandbox account gets disabled.
I can't find the exact documentation URL right now, but I'm sure I have read it.
Here is a warning message from documentation:
Important: Do not sign in with your test account in the Settings application.
This may be due to new iOS Paid App agreements that haven't been agreed to yet.
You need to make sure you log out of your real account in the App Store app before using a test user account.
Related
I am getting the below error for sandbox testing while test in app purchase
you are not authorized to make purchases of this in app in sandbox at
this time
How to avoid this error
Make sure of the following:
1. The test account created is from the same developer portal from which you generated your provisioning profile.
2. The test account still exists and was not deleted from there.
3. Use the same identifier for which you created the in-app purchase for your app in iTunesConnect.
I found that I got this error when trying to log in with the wrong test account. One not connected to my iTunes connect account.
Log into iTunes Connect and double check you are using the correct email address as in the test account.
Otherwise here is a pretty good post about all the checks you need to go through to get the in app purchases working in sandbox mode, each has a short blurb on completing each one: http://ireviewappsblog.wordpress.com/2014/07/07/adding-in-app-purchases-in-sand-box-mode/
It covers adding the app to iTunes connecting, setting up the developer account and then also adding the code in xCode to get it working.
1.Check in-app product identifier on itunesconnect is same as you are using in your application
2.Check the bundle identifier for your app are same in the development profile & & itunes connect
3.The status of in app purchase for which you are testing on iTunes connect should be "Ready to submit"
4.Delete the app from your device clean its build from xcode if you have changed bundle identifier or provisioning profile
5.No documents agreement should be pending on iTunes connect or developer.
It is possible that your test account does not exist any longer. I found that you are still able to log in with a deleted test account but you are not allowed to make purchases and you will see the same message as you described.
Chances are you are using provisioning profile from different developer account. check it once again.
Step 1 : Go to settings.
Step 2 : Select iTunes & Settings
Step 3 : Scroll to the bottom. There is a section for SANDBOX ACCOUNT
Step 4 : Sign in there using your Sandbox account
Now test your app & it will work fine.
For sandbox, only sandbox testers can make purchases.
Make sure testers NEVER use the sandbox accounts to make actual purchases; this will convert the sandbox account to a live account.
Only Sandbox Testers can make test purchases. It's NOT the users who are listed in Internal and External testers lists. Check iTunes Connect => Users and Roles => Sandbox Testers.
I have created an iTunes test User account from My Developer account.
My client has set up (on a different developer account) an application and in-app-purchase product.
Will I be able to use my test user to purchase the product the client has set up?
The answer is no - you can not.
Test users are restricted to buying content in the sandbox for Products on the Developer account they were created on.
I managed to get a friend to help me test this and got this error when I used his test user.
I have to add in app purchase in my application.
and for testing i just want to confirm that should i need to add my bank info ?
I just want to know that is my bank details is necessary if i am only testing and not sending it to appstope?
here
Thank You in Advance
Yes you have to add your bank info. Apple will review your bank details and approve your in-app purchase. This will take few days.
No!
You don't need to enter your bank details. In iTunes Connect, create a new user. This is your test user. You can create as many as you want.
Then, on your test device, go to Settings and log out of the App Store.
In your app, select to buy the in-app purchase. You will be prompted for some credentials. Enter your test user's credentials. This will allow you to buy the in-app purchase without using your own account.
Good luck. It is a bit fiddly getting it all working. I'll post the link to the tutorial that I used when I can.
This is the tutorial that I used. Goes through everything very clearly.
http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/
I've created my iTunes Connect in-app test user and implemented all my in-app purchase code. I clicked on the home button -> settings -> appstore -> signout button. I launch my app through xcode. When it goes to perform a purchase transaction it continues to bring up my real itunes connect user info prompting me for the password. Even though it shows me as signed out in the settings appstore screen it never prompts me to enter my test user's email address when I'm testing in-app purchases.
Anyone have any ideas what's going on?
Might try rebooting your device. If you go into the AppStore.app, Featured Tab, and scroll all the way to the bottom where it should show your login name, are you still signed in?
Make sure you did not install your development version over distribution version.
My case:
I’ve downloaded my application from Apple AppStore – distribution version. Later, started debug session over installed application and got the same situation as described the question author. No sandbox environment for in-app purchase.
Solution:
Just uninstall the application and start debug/test your application again – xcode will install development version to your device.
Now there is a new way to log in and log out test users. Under
Settings -> iTunes & App Store
You can manage your current sandbox user. If you log out the sandbox user there you will be asked to give the email address for your user when you try buying inside your app.
I have completed in app purchase for my application. Its working fine.
The only problem i have , when i test in app purchase in sandbox enviornment, It shows a message do you want to buy an "un known app" for 1.79. why doesnt it shows the name of the app.
Plus when i am going to upload the final binary to app store. what i need to do to swrich in app purchase from sandbox enviornment to real in app purchase or it will switch automaticall?
Thanks guys
Probably your configuration on iTunes connect for this in app purchase is wrong, maybe you forgot to enter the name.
Go to iTunes connect, Manage you in app purchases, select the desired app, and make sure that you have all the fields correctly filled.
When you release on the app store, you don't have to do anything, the sandbox environment is just used when you are developing, when the app is uploaded to the app store, this behavior changes and you can't use your sandbox account anymore
Hope that helps.
When I added in-app purchase support to my application, I had already released a version so there was an entry in iTunes Connect. But I've read that you need to add a new application in iTunes Connect, but check the option to upload a binary later. Then you can enable In-App Purchase on it and configure items.
And your sandbox does not go away after the application is submitted. The In-App Purchase system determines whether to use a sandbox based on the account that is currently logged in to the store on the device. I think as long as you don't have a credit card (or any payment information?) associated with the account, and the account is designated as a In-App Purchase Test User in iTunes Connect, it will use the sandbox. You can log out and use a different account through the "Store" item in Settings.