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.
Related
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.
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.
I uploaded my first app to iTunes Connect (iOS 8, iPhone) and it's now available through Apple TestFlight for internal and external testers.
I created a Non-Consumable in app purchase for it and would like to test it. How can I add it to my beta app?
I'm getting this message in iTunes Connect:
Your first In-App Purchase must be submitted with a new app version. Select it from the In-App Purchase section in Version Details
and click Submit.
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.
TestFlight users don't require a sandbox account, but they will test against an automatically created sandbox account.
Sandbox Accounts
The moment a tester opens your application, a sandbox
account is created for them. This means it's no longer necessary to
create test accounts in iTunes Connect. Testing In-App Purchases was
never easier.
Source
Note that your TestFlight user is a legitimate App Store user. That user will be purchasing, restoring, etc. from the IAP in the Sandbox as opposed to the real IAP.
On iTunes Connect, the IAP can be "Approved" or "Ready to Submit" (or any other status, I think).
English
Testers - TestFlight - Apple Developer
Each build is available to test for up to 90 days, starting from the
day the developer uploads their build. You can see how many days you
have left for testing in the app’s details page in TestFlight.
TestFlight will notify you each time a new build is available and will
include instructions on what you need to test.
All in-app purchases are free during the testing period.
中文
测试员 - TestFlight - Apple Developer
从开发者上传的那一天起,每个构建版本可被测试长达 90 天。您可以在 TestFlight 的 app 详细信息页面上查看可供测试的剩余天数。
在测试期间,所有 App 内购买项目都是免费的.
you can test in-app purchase with test account.
go to itunes connect -> Users and Roles --> Sandbox Testers
then create an account for testing your in app purchase.
when test in app purchase try to logout from app store which uses your real account. then it will ask for itunes account while in testing in app purchase then enter your test account credentials.
Testing IAP is going to require a test user that you create under iTunes connect. Plus code in you app to implement IAP. Then to test it you "purchase" the item from within the app, under the sandbox, using that user id.
As far as I know TestFlight is no different than testing the IAP on your device by building directly to your device.
I'm assuming that you didn't just add the IAP bundle id and expect it to do something.
If you have not added code to support IAP, that answer is non-trivial within the scope of a SE answer. Google IAP tutorial. There are lots of good ones out there.
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
I originally thought it was impossible to gift In-App Purchase items, until I saw this in Diptic.
Update: I simply "installed" this app and though it is Free so I inferred the gift is for its In-App Purchase. However I forgot I downloaded this app before so "Install" does not mean it is free and the gift is in fact the app per se not its In-App Purchase items. Sorry for my mistake.
That is gifting the base $0.99 app. That is not gifting any in-app purchases. Apple does not provide any way to gift in-app purchases nor any way to provide promo codes for in-app purchases.
Support for in-app purchase promo codes is now supported.
However, you can write your own custom logic within your app to give your in app purchases away free for a period of time.