I've been testing one of my apps awhile ago and ran into some inapp purchasing errors, so I decided to delete my test user and try with a new one. I wanted to add my old test user again to my account, but got this message:
The following error(s) occurred: The email address you entered already
belongs to an existing Apple account. Please try again.
How can I fix this problem and add an old test user again in iTunes Connect?
Unfortunately, you can't add an old user once more, even if you delete it. Just create a new one.
From apple documentation:
You can only create test user accounts using an iTunes Connect
accounts with the Admin or Technical role assigned to it. Test users
do not have access to iTunes Connect, but will be able to test in-app
purchases in a development environment on a registered test device.
Link here
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.
Well, I'm having this issue now. I'm using MKStoreKit in my in-app purchase. This are my errors:
Failed transaction: <SKPaymentTransaction: 0x136a62e0>
error: Error Domain=SKErrorDomain Code=2 "Cannot connect to iTunes Store" UserInfo=0x13654a90 {NSLocalizedDescription=Cannot connect to iTunes Store}
Any idea?
You may remove that error via cross checking this check list.
If your answer is no for any of the points then it may be causing the problem
Have you enabled In-App Purchases for your App ID?
Have you checked Cleared for Sale for your product?
Does your project’s .plist Bundle ID match your App ID?
Have you generated and installed a new provisioning profile for the new App ID?
Have you configured your project to code sign using this new provisioning profile?
Are you using the full product ID when making an SKProductRequest?
Have you waited several hours since adding your product to iTunes Connect?
Are your bank details active on iTunes Connect?
Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work.
For iOS7 and Xcode 5 Try doing this:
You have to test on a physical device as apple restrict IAP testing in the simulator.
Go to setting -> iTunes & App Store -> and log out of your account.
Remove app from device and clean all data.
Most importantly do logout from your current iTunes account in your device before trying to do any purchase.
Make sure you have done all necessary steps for in-App purchase testing.
As of September/October 2013, iOS7 simulators cannot process app store inapp purchase requests.
You need to use a real device
Imagine, you created new app profile in My Apps of itunes connect. Added in-app. All correct.
Now you want to test purchases. It shows list of products but stops on buy button with "Cannot connect to iTunes Store" error in log.
This is because you try to buy not approved and not existing product!
You can test only sandbox product right now.
So, you have to
create sandbox user (in itunes connect - users...)
logout you real itunes login on device
try to buy under sandbox login (it will ask you)
Had same issue and I just remembered not any apple id will work. You have to create a testing apple id in itunes connect / manage users/ test user / add new user.
Try putting a build number in. Target > General > Identity > Build.
This solved it for me.
This app contains an embedded provisioning profile that is not associated with your account. Please use a provisioning profile associated with team ID : I am getting this error while I upload the build with Application loader.
I am using two different accounts.
1) For creating provisioning profile
2) For uploading in iTunes.
Everything had worked fine till date. I have updated my app several times in app store. I am using the same procedure but facing this issue.
What might be the reason? Its an emergency Please help me on this.
Apple does not allow anymore submission of an app on a developer account if this app have been signed using a different developer account certificate (different team ID).
You have no other choice than sign you app with the developer account certificate where you want the submission to be done. If the Bundle ID is already taken on the other/previous developer account, you will have to sign your app using a wildcar mobile provision.
If you need push notif or Game Center or anything that need to avoid a wildcar AppStore mobile provision, then you are in trouble => setup a brand new app (new app ID / Bundle ID) and plan migration of your customers from the old app to the new one ...
See Here
I Think i have cracked this issue, But dont know if there is still a better solution.
As i used a different accounts for creating provisioning profile and submitting it in iTunes, because of which i got this error.
Solution: We have to use the same account for creating the provisioning profile and also submitting it in iTunes. As a trial i did the same, it just worked fine.
I have finally updated my app to app-store successfully!
Reason:
Actually we had an corporate account and an individual developer account. Before we use to update using the individual account, Since the Apple Licence agreement changed some time back.
We cannot upload or update your app with the individual account if it is connected with the corporate account.
Soln:
Need to add or link the individual account to corporate account.
We have a partner that is actually owning our app on it's iTunes Connect account. We are actually developping the v2 of this app which will be included in our iTunes Connect account, it's the same app, just a new release.
Actually the app is at "removed from sales" status in our partner iTunes Connect account and people who have the app can still use it, everything is OK.
But we can't reuse the same app name in our iTunes Connect because the app name is already in use.
So, we are asking our partner to completly delete the app, then we can use the name & publish our own app. The question is :
If our partner completly delete the app, will it continue to work on every user devices?
I already looked at the iTunes developer guide, but it's not really clear, and Apple doesn't answer clearly too ..
Deleting an App If you have created an app in iTunes Connect that you no longer need to see or manage, you can delete it from your iTunes Connect view.
IMPORTANT: Deleting your app will not allow you to reuse your SKU or App Name in the same account again and you will not be able to restore your app once deleted. If you have uploaded a binary or set up this app for the iAd Network, your Bundle ID will not be reusable either.
If you are selling your app to another developer for their own distribution and need to remove it from your iTunes Connect account, we recommend that you use App Delete so the App Name will be freed up for their use.
So, does someone already deleted (not removed from sales) an app from the iTunes Connect ?
Does the app is still working on devices ?
Thanks for answers :)
Yes it will continue to work on the users phone's, but they will not be able to install your app again from iCloud.
I'm testing an in-app purchase which did work fine a week ago, but now seems to be playing up.
I can load the product from the store without any problems (using NSLog to confirm the product id, price etc...), but when I send the actual request to purchase the product - I don't get challenged to log in to my (test) user account, it just returns an error code -1003 "Cannot connect to iTunes store".
This is strange because it did work a week ago, and now it doesn't. What's weirder is that it does prompt me for my password (to purchase the product) if I am currently logged into my live iTunes account.
It's almost as if the app is checking to see if there is an iTunes account logged in, and if not it will just fail... which is rather annoying as you're not supposed to log into the test accounts via your settings as it will invalidate it.
Can anyone shed some light on this for me? I'd be well chuffed if you could :)
Thanks!
I have had this issue as well. You may want to try one or all of these steps.
Delete the app from your device and rebuild it.
Log out from any iTunes account on the device.
Delete the app. Reboot your device and build and run again.
Log into the iTunesConnect portal and view your test user page.
I have been able to reconnect by doing one or all of these things.
Hope this helps.
I've fixed this by creating a new test user. My guess is the test account accidentally saw the live store - which tends to kill them. Might be your problem as well?