Invalid Product Identifier for In-app purchase - ios

I am trying test my app for in-app purchase feature. I created some products for In-app purchase from itunes connect. I created these products as non-consumable products. But when I try to purchase the in-app products from my app, the response is "Invalid Product Identifier". I have no clue what does this error means. Please note that I have not yet submitted the app for review. I want to do In-app purchase testing before submitting the app. Can anybody guide me in the right direction or resources. Thank you.

The issue is resolved after signing agreement for paid application. Once the agreement is signed, I am able to test purchasing through my test user account in sandbox environment without any problem.

Related

AppStore new app review with in-app purchase

I have a brand new app which contains an in-app purchase. I am trying to understand a correct order of the review. What has to be reviewed first: a brand new app or an in-app purchase
Firstly I tried to submit both binary and in-app purchase at the same time but got rejected. Apple's testers got 'undefined' price on my payment screen. However on all my devices and simulators price is loaded correctly and is shown in local currency. So I decided that maybe price is not working for Apple's testers because in-app purchase was not approved yet.
Yesterday I submitted my in-app purchase only for review without submitting a new binary. Right now in-app purchase is "waiting for review" and binary is still "rejected" with old unresolved issue.
Need an advice if I am doing this the correct way.

SKProductRequest return 0 in response

Please help me,
I have implement In-App Purchase in my iOS App. And create an In-App purchase on iTunes Connect. This In-App is "Ready to Submit" state.
But whenever i am trying with Xcode in iPad SKProductRequest Response always return 0.
I have stuck for 2 days but still not found any solution. Please provide me suggestions friends.
One more thing is confusing that in my iTunes Account Contract and Tax information is not fixed. So i think this issue is coming for that?
Because in my Itunes Account Below message is continuously is showing
You do not currently have a iOS Paid Apps contract in effect. If this In-App Purchase was submitted with your app, then your app will not be available on the App Store until your contract goes into effect. Legal, Admin, and Finance users can go to the Agreements, Tax, and Banking module in iTunes Connect to view your contract status.
Your first In-App Purchase must be submitted with a new app version. Select it from the app’s In-App Purchases section and click Submit.>
Please suggest where is stuck and why?
Thanks
For in-app purchases to work even in sandbox mode, you need to ensure a few things
your IAP products are setup correctly
you are using the correct mobileprovision files
your iOS paid apps contract is agreed to (even if you haven't filled in the information).
Only then you will receive IAP information in your app.

Can't submit app with in-app purchases

I try to submit app with in-app purchases but apple-people reject it.
Thank you for submitting the new binary.
However, we still found that while you have submitted In App Purchase
products for your app, the In App Purchase functionality is not
present in your binary. Please see the attached screenshot/s for more
information.
If you would like to utilize In App Purchase in your app, you will
need to upload a new binary that incorporates the In App Purchase API
to enable users to make a purchase.
Once you revise and resubmit your binary, you will also need to
resubmit your In App Purchases for review since they are in the state
Developer Action Required. For each IAP product submitted, please be
sure to edit the detail information or cancel the request to change
the detail information for the In App Purchases using iTunes Connect.
For more information on how to implement In App Purchase in your
application, please refer to the In-App Purchase Programming Guide.
You can learn more about submitting In App Purchases for review in the
In-App Purchase Configuration Guide for iTunes Connect.
They show the screenshot without products.
But we tested on test user account and no errors found.
Can anybody know why in-app products not presented on screenshots of reviewers?
And what is the "Developer Action Needed"?
Do you use Apple's In App Purchases API? Because they seem to say that you don't. Most probably they run some automatic tests which detects if such functionality/framework is present/used or not. If you do and it seems confusing, you better contact them.

In App Purchase and Apple Review

I am trying to add in-app purchasing to an ios application which has been available on ios since 2010. According to Apple, I must submit my first in-app feature along with submitting an update to the application. The problem is that I can't test the in-app purchasing process in my code until the in-app feature is listed on the App Store. But Apple won't list the in-app feature on the App Store until they approve the product update. This is a very bad Catch-22. In my most recent attempt (third try), I put draft, untested code in the product to handle the in-app purchase. But of course I can't test it until Apple puts the feature to be in-app purchased on the price list.
Am I missing something? The Apple Review people sent me to Apple Tech Support. The Apple Tech Support people sent me to Apple Review. Any ideas to work around their Catch-22?
You should be able to implement the In App Purchase system into your app version as well as creating an iAP item in iTunes Connect, then use a Sandbox account to test purchasing of the content. The iAP doesn't have to be approved for that.
Sandbox accounts can be made in iTunes Connect under 'Manage Users'.
Apple Docs: Testing in the Sandbox

How to check whether paid In-App purchase is working?

I have a paid In-App purchase in my application.
I can buy paid apps using promo code that I get from the itunes connect.
How can I buy a In-App purchase like this?
Go to iTunes Connect. You can see an option of Manage Users. Under that option you can create test accounts for testing the in-app purchases integrated in your app. Hope that help.

Resources