I am making an app and trying to put in-app-purchase function for iOS.
and it keeps returning "invalid receipt" error.
I tried to research and nothing I found was very helpful,
and I noticed some of them were talking about submission for app review.
currently the app is rejected due to in-app-purchase(the app requires the function but I didn't add the function) and that is why I did not submit screenshots of item purchases for review.
is it a must to pass the review to make IAP available even if it is rejected and on testflight only?
Related
This is the text from AppStore for Rejection.
We noticed that your app offers a subscription with a mechanism other than the in-app purchase API.
Actually app is not having any third party for payment or no any In app purchase but if i searched for InAppPurchase OR Subscription word in project then i can found methods inside the FBSDKLoginKit and FBSDKCoreKit.
In App Purchase is OFF in Capabilities.
In App Purchase is ON in Certificates. (Which is by default ON)
But They are saying we are offering subscription other than In app purchase which is actually not there.
Does any one have solution of this type of issue?
Please help guys!
Thanks in advance!
You need to resubmit to Apple for review and mention that App does not have any Subscription/In App purchase, and that you are using Facebook SDK that has subscription support but you are not using that feature in your app.
I'm not sure if this will successfully make your application pass the review process but it may help
I am trying to create my first non-consumable in app purchase for my ios app and I just uploaded the .pkg to iTunes Connect (via XCode) but I still see this warning...
This In-App Purchase is not currently available for testing in the sandbox environment because you have chosen to host your content with Apple, but have not delivered your content. Upload your content to test this In-App Purchase in sandbox.
and the status is still
Waiting for Upload
I have not yet submitted my App's binary yet however.
How do I get rid of the message above and move on with testing in the sandbox env? Do I need to submit my app's binary?
Nevermind! I guess I was just being impatient. I checked back after a couple of hours and now the warning message has changed to
Your first In-App Purchase(s) must be submitted with a new app version. Select them from the In-App Purchases section of the Version Details page and then click Ready to Upload Binary.
For those who also got confused because they did not notify you directly, just make sure that you:
Archive your in app purchase, distribute it through XCode (Open organizer) and wait 1-2 hours.
This error came up for me when I edited an in-app purchase.
I have not received a reply from Apple but found that when I changed the image, I got this on saving.
Instead of being an edit, it turned into an add new.
As I have quite a few apps, I decided to add the in app-purchases to them and found that there was an issue with the graphic. There is no need to change the old one but thought it would be nice.
It is buggy.
I resolved the problem by deleting the new in app purchase and the edits were still saved into the original configuration except for the image.
I have created a newsstand app and have everything working. The only issues I have now are:
When I click 'subscribe' and the dialogue box pops up to confirm the in app purchase it says
Confirm Subscription
Do you want subscribe to Unknown App for free?
[Environment: Sandbox]
Why does it say Unknown App? Everything else works (receipt validation, completing the transaction & co.)
Also, will the [Environment: Sandbox] go away automatically once I upload it to the app store and download it for real? Is there something in my code that I am missing that sends the in app purchase request to the sandbox? Or is it just because i am using a test device that has the app compiled onto it from XCode.
If your app is not in app store, it shows you the [Environment: Sandbox]. It will automatically go away once you uploaded app and your app is in app store.
For "Unknown App":
You need to add text in inApp purchase section in iTunes connect. If you haven't done that it will show you "Unknown App" on message which comes on iOS pop-up.When you activate in-app purchase by filling all information in inApp purchase section, pop-up will not show you "Unknown App", rather the pop-up will mention your app name.
Hope this will help you.
If your app is not in app store, it shows you the [Environment: Sandbox]. it will automatically will go away once you uploaded and your app is in app store.
If your binary has been rejected by Apple, the IAP products submitted with it should also show up as rejected. When you try and purchase a rejected IAP within the app, the confirmation screen will show the aforementioned "Do you want to buy one Unknown App...".
To correct this you should be able to make a small change to each IAP product in iTunes Connect. Then simply change it back, then the rejected flag should go away (and be replaced by waiting for review. For example, I added an 's' to the Display Name for the English language of each product. Then went right back in and removed the 's'.
This may not be acceptable to Apple if the reason for your rejection centers around your use of In-App Purchases.
I suggest to check your itunesconnect account.
Goto your Specific App "NewStandApp" .-> Manage InAppPurchases. Now check Reference Name you have Added with your ProductID.
Product_Id your are referring in project/app (sandbox environment) might be connected with app name "Unknown app"
i have implemented the in app purchase in my application and added few in app purchases. on itunes connect i have filled all the details for the in app purchases. Initially the status of in app purchase was "waiting for review" and i was able to test in app purchase in sandbox env. but after every 4 days, in app purchases gets new status "developer action needed" and in the language section there is a "rejected" sign of in app purchase. so to make this use able again i have been using to make little change in description, which makes the in app purchase again in review
as history of the project is: right now application version 1.0 is available on app store in which in app purchases are not implemented
and i have added new application version 2.0 which is in "rejected by developer" state
so i just want to know why itunes connect team is rejecting in app purchase again and again?
also im not getting any email regarding this rejection
any one guide me what is the solution to this problem or any one else has faced this issue before?
Have you uploaded new version on apple store which is having in-app purchase code implemented ? if not then they will reject the in-app purchase items.
also if apple is rejecting your in-app purchased , then have you provided all the details to them. As if they find the in-app purchase improper then they can can reject it. Provide them proper details and proper screen shot for the same.
Also if apple is rejecting your in-app purchase then you may can ask apple review team about the issue. Use the Link. they will let you know the exact issue.
Hope this will help you.
I recently had this problem with an app submitted to Apple.
There is a fallback system that needs to be in place for server side in app purchase validation.
It is documented in Apple, but VERY well hidden in tech note :
http://developer.apple.com/library/ios/#technotes/tn2259/_index.html
Here is the way to do it :
"Always verify your receipt first with the production URL; proceed to verify with the sandbox URL if you receive a 21007 status code.
Following this approach ensures that you do not have to switch between URLs while your application is being tested or reviewed in the sandbox or is live in the App Store."
I recently submitted my iPhone app for review. I also approved the in-app-purchase for my app (and provided the in-app-purchase screenshot). It's a few days later and the app status has been updated from "waiting for review" to "in review"... while the in-app-purchase status is still "waiting for review". Could the app go live in the store before the in-app-purchase? If so what happens when the user tries to make the in-app-purchase? Anything the developer can do to remedy this?
Set the app availability date to a time in the future, then when the in-app purchase is accepted, set both dates to the present.
You should also uncheck the "Cleared for Sale" checkbox in the In-App Purchase page in iTunes Connect. This means the IAP won't go on sale (even after being approved) until you decide it should.
You should have a check in your app to see if an IAP is actually available, and only display it if it was found in the App Store.
The same thing happened to us on one of our submissions. The Apple reviewers wanted to see our in-app-purchase experience before they approved the app. So in the course of the review they made sure the in-app-purchase was up to par, and approved them both at the same time.
I'm not sure if this is the standard among app reviews, so I'd play it safe and go with #nevan's suggestion as well, because if the app goes through without the in-app purchase items enabled, the purchases will fail.