Testing in app purchase on iOS - ios

I want to add an in-app purchase mechanishm to my application. As I understand from Apple documents, I have to send my binary before I add some in-app purchasing code.
I'm not sure about something. If I send my binary with the 1.0 version, will I able to publish my application with the 1.0 version in future? Because I will add some in-app purchase after my app is reviewed and accepted by Apple and send it (or update it) again.
How this mechanishm works in Apple? How can I handle this?

You have to upload the binary and then Apple will hopefully will approve you application.
When Apple have approved your application you can either choose to release it to app-store or wait and add more code.

You are confused, you need to add the in-app purchase code with your 1.0 binary. Also submit any existing in-app purchases to be reviewed along with your binary.
If you need to add more in-app purchases in the future, you can either submit a new binary with the new in-app purchases. Or, if you don't need code changes to add new IAPs, you can simply create them on itunes connect and submit them for review without updating the binary.
In conclusion, there is NO version of the binary that needs to be submittied WITHOUT the IAP-related code.

Related

in app purchaise add binary

I have submit new version of app and new in app Purchase. Apple have accent new version of app but not accept in app Purchase.
In-App Purchase - New Business Model
We have begun the review of your In-App Purchase(s) but aren't able to continue because your submitted In-App Purchase(s) indicate a change of business model for your app. Therefore, we need to verify the implementation of your submitted In-App Purchase(s) in the app to ensure your app, and its In-App Purchase(s), are in compliance with the App Store Review Guidelines.
Next Steps
Please upload a new binary for review and resubmit your In-App Purchase(s) with the binary so that we can continue the review.
I don't understand, I must only upload new build to itunes connect or then I must add build to in app Purchase?
Steps that help me are:
You should remove your new In-App purchase.
Reject last app version (if it on Pending developer release state), or just create new version
Re-create In-App purchase again (I did it via Application loader (btw it's more usable than website itunesconnect.apple.com). Don't forget to add screenshot and languages (at least one - for example, English).
On itunesconnect.apple.com at the page of your prepared for submit version, you can find In-App purchases section (that was hided before)
Click on "+" - and add your re-created in-app purchase
Upload binary and submit for review
Enjoy!
Well, if they write about different model, than you must re-check types of your in-app purchases.
May be the means that your application must fulfill with their business models, so for example, I think, you can't create paid application with subscription.
Btw, refer to this model descriptions
After that simply create new build and don't forget to attach in-app to it before review

Adding new In-app purchases through Application Loader

I am using Application Loader to add 3 new In-App Purchases. I have 14 currently for sale.
When I add the new 3 (with hosted content), validate, then press Deliver.
I get this error
The archive for In-App Purchase 'com.xxx.xxx' is invalid.
The 'ContentVersion' in the ContentInfo.plist must have a higher value
than the current version.
Where com.xxx.xxx is an old, live hosted content In-app Purchase...
If I change the ContentVersion of com.xxx.xxx will it affect users who have bought it? Why would I need to change it anyway?
The number of In-App Purchases won't play a factor: Apple Quote: "Application Loader supports a maximum of 1,000 In-App Purchases per application." from Using Application Loader.
Make sure all the Product IDs you've set in the In-App Purchase summary are identical to the ones associated with the ones located in your app's .plist file. According to Apple's: In-App Purchase Programming Guide, changes to the plist identifiers may cause issues with the users' previous purchases in the app:
Checkout Ray Wenderlich's tutorial on In-App Purchases. It's pretty straightforward and regularly updated.
All you need to do is change the ContentVersion string in your ContentInfo.plist from ver 1.0 to 2.0 before submitting to iTunes connect. If your IAP was not approved by apple then it would just overwrite version 1.0 but if your updating an approved IAP you have to incremnet the version.
Turns out this was an Apple error and it's fixed itself. Didn't have to change anything. Just waited for them to fix it.

Migrating free App to freemium

I'm about to submit my first (free) app for the AppleStore.
I plan to make an update later with in-app purchases.
I'm not familiar with iTunes connect and I don't know yet anything about how in-app purchases works, so I'd like to know if there is anything I should be aware before submitting in order to make the future update easy/possible.
For example, I believe I should submit it as a free app, but i'm not sure i'd better make it an in-app purchase right now even if it doesn't implement purchases for now)
Many thanks !
You DO Not have to entitle an App for In-App Purchase (iAP) until you actually use it. That means you can wait and do it later when you add In-App purchases. Alternatively, you can entitle the App now (via Provisioning Portal) and not add anything until later. Either works just fine.

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

iOS In App Purchases rejection: Missing IAPs

I have submitted an iphone app with in-app purchase But my Binary is rejected and I have got the following message from Apple
From Apple. Missing IAPs
We are unable to complete the review of your app since one or more of your In App Purchases have not been submitted for review.
Please be sure to take action and submit your In App Purchases AND upload a new binary in iTunes Connect. Learn more about submitting In App Purchases for review in the iTunes Connect Developer Guide.
Once you've submitted your In App Purchases and uploaded a new binary, we can proceed with your review.
My questions is Should i create a new binary and upload it or can i resubmit the binary which the In App Purchase has been rejected ?
looks like an old post but but making it more detailed because I myself faced it and made me searching multiple posts for actual steps.
First of all, you don't need to create a new binary because you just forgot to select In App purchases for review. Below are the steps how you can do this
Before making the Application "Ready to Upload" you need to select all the In App Purchases in Applicatin's Detail Page.
At iTunes Connect -> Click your application -> Click Edit -> scroll to bottom, you would see In App Purchase link, select the In Apps you want to make the part of your Application Submission Process. Once you are confirmed then change your product status to "Ready to Upload Binary"
If somehow you forgot to do that then there is only 1 way. Which is Reject and then Re Do the process I mentioned above.
you missed to submit the in app purchases for review . Now each of your in app must have its status as " Waiting For Review " . You can submit your binary and related in app purchases to the apple review process . You should create a new binary and submit it to the app store review process.Hope this helps.
Here is my case. All info is included in the reply to Apple.
Thanks very much for reviewing the app.
On IAP a few days before,
our Product Manager did not know in-app purchase products subscription well .
In order to get more free user,
he sent three months subscription for free to new registered users
by adjusting member date on the server side.
After a lot of querying,
we will use IAP App Store Promotions to get more free user,
instead of changing the member date simply on the server side.
We have completed in-app purchases,
and will upload a new binary in App Store Connect soon.
Subscription issue, not on the iOS client Side, but on the server side.
I replied. After a while, I see the place "to submit the in app purchase" in an iOS product on App Store once.
I handled, and it disappeared. Very interesting.
I have not seen the place "to submit the in app purchase" in an iPad product on App Store.
On App Store Reviewing Issue, honest communication is very important.
Yes, you should create a new binary and upload it.
You should do what Apple told you to do.
This is my case.
Firstly, you should add meta info to IAP products.
The meta info, is an image with its description.
Get it ready.
Then Apple will add IAP Add Options in the app version page, which is to be reviewed, after some time.
Six steps from Apple, Workflow for configuring in-app purchases
Sign a Paid Applications Agreement
Configure in-app purchases in App Store Connect
I thought the In App Purchase link is here, which Ahsan.Amin means, iOS Version 13.2
Enable in-app purchase in Xcode
Design and create your in-app purchase
Test in-app purchases
Publish your app and in-app purchase on the App Store

Resources