• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Testing In-App Purchases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Testing In-App Purchases


  • Subject: Re: [OT] Testing In-App Purchases
  • From: Quincey Morris <email@hidden>
  • Date: Sun, 08 Jan 2017 01:42:16 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sXZ6QC0bZ3:SMTPCORP

On Jan 7, 2017, at 12:32 , Charles Jenkins <email@hidden> wrote:
>
> I have created a test Sandbox user in iTunes connect, but no matter what I
> do, I can’t log in as that user on my device in order to test an in-app
> purchase. I have verified the email, logged in to the Apple ID management
> site, and set security questions. But logging in on a device only gets me a
> failure message saying the user “cannot be created” and I need to try again
> later.

Under what circumstances are you logging in? You can’t log in to a test account outside your app, because it’s not a valid Apple ID IRL.

I believe the tech note states the procedure correctly though a little obscurely:

	developer.apple.com/library/content/technotes/tn2413/_index.html <http://developer.apple.com/library/content/technotes/tn2413/_index.html>

in these words: “…sign out of the store in the Settings application on your device and use your sandbox test user account when prompted by Store Kit to confirm a purchase…”. So you must log out of your regular Apple ID first, leave yourself logged out, then run your app, try a purchase, and let the prompt to log in come from the app’s purchase procedure. That’s how iOS knows to use the sandbox environment.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >[OT] Testing In-App Purchases (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Re: AVSimplePlayer in Swift?
  • Next by Date: Code Review Requested - In-App Purchases
  • Previous by thread: [OT] Testing In-App Purchases
  • Next by thread: Turn off Window Snapping on Sierra
  • Index(es):
    • Date
    • Thread