I've been pulling hair for a month to get my IAP Product to work. I tried several methods. But it always return with an error saying
"IAP error (only reported in test mode): Trying to purchase an unknown product. (Code 4983500)"
Yes I've created the IAP Product on my iTunes Connect
Yes I'm pretty sure I'm right with the event sheet "On start of layout" > "Add product ID "Product Name"
"Request Store Listing"
Yes I've signed out of App Store
Yes I've enabled "Test Mode" in the IAP Plugin properties
Yes I've even deleted and created another binary over and over again
Yes I've even created a new certificate, APP IDs, Provisioning profile over and over again
The last effort that I put in to try and figure this out was this...
So I thought to make this work, I have to get my IAP product to be approved by the Review Board then only I can test it, so what I did next, I submitted my app for review but it got rejected only because the IAP returns that error message when my app got tested by the App Review Board.
and this is the message that they gave me back...
We have reviewed your app to be uploaded to the App Store, however we encountered a bug that returns with an error message. Below are the steps to reproduce the bugs
1) Tap "Shop" logo on main menu
2) Tap Buy 1 Coin
3) Error message pops out "IAP error (only reported in test mode): Trying to purchase an unknown product. (Code 4983500)"
Please fix this bug and resubmit a new binary.
So now I'm confused, am I suppose to get the IAP Product approved by the apple review board in order for me to test it?
I can test the IAP Product regardless the IAP Product is already approved by the review board?
@ashley or anyone please help...
This is the last thing on my checklist before the game is 100% ready to be uploaded to the app store.
Used IntelXDK to compile
Used the default IAP plugin
On the iOS Dev Library under "Testing In-App Purchase" Section
One of the instruction to test is
In Xcode, set your test device as your scheme’s destination.
Open your app, and perform your In-App Purchase product testing.
Use your test account credentials to test the purchase.
Do I have to use Xcode to test my IAP product then?
The problem is I am compiling using IntelXDK and as we all know, we can't open .IPA file on Xcode.