In-App using ProductStore native extension - air

I am testing my app in-app purchase feature, when I trigger the buy option
productStore.makePurchaseTransaction(product,quantety);
nothing happens, and non of the following events trigger:
productStore.addEventListener(TransactionEvent.PURCHASE_TRANSACTION_SUCCESS, purchaseTransactionSucceeded);
productStore.addEventListener(TransactionEvent.PURCHASE_TRANSACTION_CANCEL, purchaseTransactionCanceled);
productStore.addEventListener(TransactionEvent.PURCHASE_TRANSACTION_FAIL, purchaseTransactionFailed);
I don't have a clue to what is the error, when I ask for the product details
productStore.requestProductsDetails(vector);
It fails:
productDetailsFailed[ProductEvent type="productDetailsFail" bubbles=false cancelable=false products=null invalidIdentifiers=myapp.fullVersion,null error=null]
Any advice on this issue will be awesome.
Thanks!

invalidIdentifiers=myapp.fullVersion
Your application doesn't have this inapp purchase ability.
Check itunes for inapp connect.

Related

IOS/Android subscriptions

We're building mobile app using react-native.
Our app includes monthly/yearly subscriptions, so I was wondering for IOS app, is it a must to you in-app purchases? or I can use something like Stripe for that.
The apple docs are kind of non transparent about that topic, as I understand if I have one time payments than it's allowed to use whatever I choose, but for subscription models am I forced to use in-app purchases?
Have not tried any solutions yet, because don't want to completely overrite the code if in-app purchase is a must.

How to verify connection and product ID in react-native-iap

Hello I am trying to understand the documentation of the react-native in app purchases but I cannot find any docs that describe how to properly implement the initConnection function from the module and get the products that have been already approved by the apple store connect platform?
I would like to know how to connect the react native project to the app store connect and the in app purchase features so that I may verify that it is actually working. Because all of the documents as of now have just been showing to use the function RNIap.initConnection() and to console.log the connection but I keep receiving an undefined in the terminal as I log it.
Whenever I try to requestSubscription() I keep getting product ID is not valid as a error and I am not sure as to why ? I am assuming because I am not properly connected to the platform.
I have made a sandbox account to test the in app purchase.
I am in the middle of doing this as well. One of the things I found is that I needed to have the Banking and Tax information set up in App Store Connect and validated before I could do much. Until I did that, I couldn't get very far with testing Subscriptions. Hope that helps.

App Rejection - in-app purchase

My iOS application is rejected. I have changed some basics and now it's ready for the next submit for review but the In-app purchase still in review. Should I submit it again while (In-app purchase) is in review?
Yes you can submit your app when it is in review. Make sure you have uploaded your app with proper testing.
All the best! :)

iTunes Connect - in app purchases

I have added a new in app purchase for my app. I have uploaded the screenshot and the status is "Waiting for Review".
I have NOT submitted the binary yet as I wanted to do some testing once the purchase has been approved.
The in app purchase has been in the "Waiting for Review" state for about 2 weeks now.
Does this indicate a problem? Or has anyone experienced a wait as long as this for approval?
Cheers,
You can test the in app purchase without being approved. See the docs how. You should submit a screenshot when you want the in app purchase to be tested. This is, when your app is already submitted.

Not getting the pop up from App store for In-App-Purchase

I am working on application in which i am implementing In-App-Purchase,On buying the product through my application i can fetch all the information regarding the products in my console, but the problems occurs where i am not getting the pop-up from App Store which shows all the information to buyers. I cannot figure out the problem. Please suggest some solution for this.
Thanks.
Apple's IAP backend (test mode) has been up and down over the last 5 days, mostly down, there's been no official confirmation of the outage, just check twitter for similar complaints.
need code.. or follow troy brant's awesome tutorial
http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/