Folks;
I've had an app in the Mac App Store for some time. I used a test account setup in App Store Connect to test this. Let's call this testAccount1. Everything worked as expected.
For various reasons I have eliminated that account in App Store Connect.
Now I need to perform more sandbox testing against this app.
I have setup a new account in App Store Connect.
Let's call this testAccount2.
BTW: macOS 11.2 Beta (20D5042d) on Transition Kit (A12Z Bionic) with Xcode 12.3
Used Xcode to perform a 'clean'
Used Finder to remove the ~/Library/Containter/'appName' folder.
When I launch the app in Xcode and reach the appropriate point I perform 'exit(173)'
This results in a prompt to sign into the App Store which I do by providing TestAccount2.
So far so good.
Now when I attempt to purchase an In-App Purchase I am again prompted to Sign in to the App Store. This window contains a text field to enter an AppleID. This field is pre-populated with TestAccount1!!!
scenario 1: over-ride the pre--populated AppleID with TestAccout2.
in this case I am then prompted to enter the password.
after entering the password I receive a prompt to 'Sign in to App Store'
this window does not contain a text field to enter an AppleID (only 'Cancel' or 'Buy')
On the 4th click it errors out .... " Code=306 "Reached max retry count"
scenario 2: accept the pre-poulated AppleID
NOTE:this AppleID is not valid - I have deleted this from App Store Connect
after entering the password the normal in-app prompts appear
after confirming the purchase I receive : "You are not authorized to make purchases of this InApp in Sandbox at this time."
Bottom Line:
I cannot test with a new Sandbox account
I cannot test with an invalid Sandbox account
Can someone please clarify how I am supposed to test in Mac App Store Sandbox?
Please!
Steve
I've had an app in the Mac App Store for some time. I used a test account setup in App Store Connect to test this. Let's call this testAccount1. Everything worked as expected.
For various reasons I have eliminated that account in App Store Connect.
Now I need to perform more sandbox testing against this app.
I have setup a new account in App Store Connect.
Let's call this testAccount2.
BTW: macOS 11.2 Beta (20D5042d) on Transition Kit (A12Z Bionic) with Xcode 12.3
Used Xcode to perform a 'clean'
Used Finder to remove the ~/Library/Containter/'appName' folder.
When I launch the app in Xcode and reach the appropriate point I perform 'exit(173)'
This results in a prompt to sign into the App Store which I do by providing TestAccount2.
So far so good.
Now when I attempt to purchase an In-App Purchase I am again prompted to Sign in to the App Store. This window contains a text field to enter an AppleID. This field is pre-populated with TestAccount1!!!
scenario 1: over-ride the pre--populated AppleID with TestAccout2.
in this case I am then prompted to enter the password.
after entering the password I receive a prompt to 'Sign in to App Store'
this window does not contain a text field to enter an AppleID (only 'Cancel' or 'Buy')
On the 4th click it errors out .... " Code=306 "Reached max retry count"
scenario 2: accept the pre-poulated AppleID
NOTE:this AppleID is not valid - I have deleted this from App Store Connect
after entering the password the normal in-app prompts appear
after confirming the purchase I receive : "You are not authorized to make purchases of this InApp in Sandbox at this time."
Bottom Line:
I cannot test with a new Sandbox account
I cannot test with an invalid Sandbox account
Can someone please clarify how I am supposed to test in Mac App Store Sandbox?
Please!
Steve