![]() It's almost as if I'm not really hitting the "sandbox" user db, more like production. I know the account credentials are correct (tried several times and verified them). I then go back to the app, and w/o doing anything in the app I immediately get messages in the debug console: Payment Queue Error: Optional(Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo=) After a couple of seconds, I end up in Settings->App store, and I don't see anything useful there. There's no place to enter that code, as if it knew "oh, the code is being sent to the device that wants it". I do that, then it pops up a 2-factor dialog saying a code has been sent, but the dialog just goes away after the code is sent via sms to that same device. I enter the sandbox credentials, then get another alert saying "Apple ID verification, open settings to continue signing in with." ![]() When I hit the button to "buy", I immediately get a dialog to enter credentials. The app runs, and I see the product show up in the app. To test, I plug in my phone to the mac, and from xcode (13.3.1) I run the app on my phone. I added an in-app purchase to the code, went through the process of adding the product to the app in "app store connect", and added a sandbox user there as well. I have a brand new app, has not been published yet.
0 Comments
Leave a Reply. |