Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In-app purchase testing mzfinance.InAppBuyLoginRequired_message (sandbox)

I am working on an in-app purchase... I had things working fine in the simulator/(sandbox mode). I’m still working on some stuff with the app and testing. Today when I tested the in app purchase I get.

In-app purchase testing mzfinance.InAppBuyLoginRequired_message (sandbox)

I looked in iTunes connect and it said “Rejected” under the in app purchase. I didn’t put complete descriptions but didn’t think it mattered because I had previously developer rejected the app.

So I deleted the in app purchase... uploaded/rejected another binary and added the new in app purchase. I used the same apple-id to test. The first time, it said Successful. I try it again and I get the same error message.

In-app purchase testing mzfinance.InAppBuyLoginRequired_message (sandbox)

Any idea what’s going on? I assume the code is fine since I haven’t changed it. Its something with iTunes connect setup or something.

like image 756
Cherr Skees Avatar asked May 31 '12 07:05

Cherr Skees


People also ask

What is App Store sandbox?

The Apple Pay sandbox environment allows merchants and developers to test their implementation of Apple Pay with test credit and debit cards.

Is TestFlight a sandbox?

TestFlight users don't require a sandbox account, but they will test against an automatically created sandbox account. This means it's no longer necessary to create test accounts in iTunes Connect.

What are sandbox testers?

A sandbox is an isolated testing environment that enables users to run programs or open files without affecting the application, system or platform on which they run. Software developers use sandboxes to test new programming code. Cybersecurity professionals use sandboxes to test potentially malicious software.

How do I test in-app purchases in the sandbox?

When testing in-app purchases in the sandbox environment, make sure you’re running a development-signed build of your app; production-signed builds use the production environment. In-app products that you create through App Store Connect are available for sale in every region with an App Store.

How to configure in-app purchases in App Store Connect?

Configure in-app purchases in App Store Connect by adding details, such as product name, description, price, and availability. You can also add localizations to ensure that people in regions where your app is available have a seamless purchase experience in their preferred language.

How do I make a purchase in a sandbox app?

The first time you make a purchase in a development-signed app, sign in to the App Store using your Sandbox Apple ID to begin testing. Note that the text [Environment: Sandbox] appears when you sign in, indicating that you’ve connected to the test environment.

How do I test my in-app purchases?

Test your in‑app purchases throughout the development process to make sure your app and server properly handle common purchase scenarios, such as subscription offers, interrupted purchases, or refunds. During early development, you can simulate and test in‑app purchases using Xcode.


2 Answers

I had the same problem, i couldnt buy any in-app because i've seen every time :

mzfinance.InAppBuyLoginRequired_message (sandbox)

Earlier i tested my in-app purchases on this test account and everything was fine. I created new test account in iTunesConnect and it helps!.

Go to:

https://itunesconnect.apple.com/

Select:

"Manage users" >> "Test user"

Next "Add new user" and create new user with any e-mail adress (i used imaginary e-mail adress). This work for me, i'm using now this second account to testing.

Regards

like image 182
Ri100 Avatar answered Nov 15 '22 20:11

Ri100


Same stuff happening since 31 May 2012. Noticed this behavior only in the simulator, on the device everything is ok.

I've managed testing on the simulator every time creating new test user at iTunesConnect. It's very time consuming but otherwise it doesn't work.

like image 42
Misha Karpenko Avatar answered Nov 15 '22 19:11

Misha Karpenko