In-app purchase testing mzfinance.InAppBuyLoginRequired_message (sandbox) - xcode

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.

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

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.

It doesn't come when you buy the app for the first time. (Creating new user means buying it first time). It comes when you are trying to restore the InApp purchase and haven't properly handled the restore purchases.
See the "Restoring Transactions" section in In-App Purchase Programming Guide.

Related

Is it possible to give a promo code for a paid Mac App (no in-app purchases)

I have a paid app and I would like to give some users free access.
I have no in-app purchases and the Features tab in App Store Connect says "Promo Codes can only be generated for approved versions".
How do I generate a promo code?
Provided you have a released version of your app it should be listed in the Features tab, the message you are seeing suggests your app is not yet approved and available for purchase. Just wait until it is. HTH
Edit: The link in your question did not work for me so I assumed the app was not approved. However I just found it by searching the App Store. It has only just been released, the Features tab is probably lagging a bit, as before just wait a while and it should appear.

Play Store updates/installs app using a different account than the one the user made IAP through

On this bug report on Github https://github.com/googlesamples/android-play-billing/issues/2#issuecomment-305380836 we were asked to raise the issue here.
The issue is simple. The user has 2 or more accounts on their phone, let's say xyz#gmail.com and abc#gmail.com. They install an app with the account xyz#gmail.com. They purchase some IAP items. The app updates and now the app is under abc#gmail.com and the user has lost the purchase. This happens a lot when using staged rollouts.
The main issue, as developers we aren't allowed to let the user choose which account to buy with or which account to check for purchases with.
The second issue, the Play Store app on Android ignores the user account selected on the hamburger menu. The only workaround for this is to use the Play Store website as described in this workaround https://github.com/googlesamples/android-play-billing/issues/2#issuecomment-259108286 on the same bug report.
I don't know what the ideal solution is, all I know is that this is a huge hassle for developers leading to a lot of 1-star reviews after each update.
EDIT: As pointed out in a comment, when I refer to multiple accounts I am talking about multiple Google accounts for a single Android User, I am not talking about multiple Android users within the same phone.

When I select the Pricing & Distribution tab in the Google Play Developer console, it displays 'Loading'

I'm trying to publish an app that is based on a free app that supports in-app billing and which is already published. Rather than use in-app billing in the new app, I decided to remove it and make it a paid app (the difference between the two apps is that the paid app has some enhancements that I want to get paid for).
So I created a new product in Google Play, different package name, etc. Everything went fine until I selected Pricing & Distribution, set the pricing ($0.99) and the distribution. When I tried to publish, I get the Android mascot with the text "Loading" alongside it and it stays like this. The app never appears in searches, even when it's enclosed in quotes. The original app does come up, but not the new one (the difference between the names is that the new one has the word "Pro" after it). And yes, the package names are different.
One more thing: when I uploaded the APK to the store, I got a warning about the app using in-app billing (which it does not) but there is no billing permission in the manifest. Since it was a warning and I don't do in-app billing, I ignored it and continued with the upload. I don't think this has anything to do with the "Loading" problem because it was happening before I removed in-app billing.
Any idea what's wrong?
Eventually, the problem somehow resolved itself. The app is visible in searches, although the "Loading" message in Pricing and Distribution is still stuck. Very weird.

iOS8 SKStoreProductViewController completion block not called

I've found that running on iOS 8 devices (real devices):
[storeProductViewController loadProductWithParameters:#{SKStoreProductParameterITunesItemIdentifier:appID} completionBlock:^(BOOL result, NSError *error) {
// In many cases we never get here!
}];
I have a valid app ID. It works consistently on iOS7, but is extremely flaky on iOS8. There doesn't seem to be a timeout, it just never shows the content.
Is anyone else seeing this? Do you have a solution?
I had the same problem. Maybe your apple ID doesn't allow buying products on store, containing specific product? In my case, I've tried to show products from american iTunes, but account is set up to russian iTunes store.
For catching this situation try to do next steps:
Open itunesconnect, do to Users and Roles --> Sandbox Testers, then Create test user in accordance with specific iTunes Store country.
Log out from your apple account on mobile device.
Sign in with test apple account
Restart your app and try to open product with SKStoreProductViewController.
PS: Apple StoreKit is still headache for developers... Without correct error logging (((

Questions about app I just submitted to the App Store

First off, can apps have an underscore in the name? The name I chose was taken, but I realized that because of the logo and style of the game it would work with an underscore at the end, so that's the name I used in iTunes connect. Will Apple reject it for this? I haven't seen any apps with an underscore in them.
Second, I'm testing the release version of my app (compiled using the release settings), and my in app purchase no longer works. It says invalid username/password, but it doesn't say sandbox mode. Is this normal? Will it work whenever the app is released? Also, will the iAds load real ads and will Game Center not be in sandbox mode? I'm pretty sure Game Center wasn't in sandbox the first time I started the release, but now it is.
Thanks in advance for the help!
Relax... Take a deep breath and calm down. The IAP is most likely not yet approved, iAds will show just fine, and GameCenter login depends more on if you use a test account or not, and it will be fine most likely.
First app?
:)

Resources