How do I test my apple IAP?

Get help using Construct 2

Post » Thu Jun 11, 2015 9:09 am

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?

or...

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.

Additional information:

Used IntelXDK to compile
Used the default IAP plugin



*UPDATE*

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.
https://itunes.apple.com/us/app/id1004254105

We bet anyone a hundred dollars if they can reach the bone on the other side of the screen! (Only on the Impossible Mode)
B
10
S
2
Posts: 122
Reputation: 1,004

Post » Mon Aug 03, 2015 4:03 am

Hey ondraayyy, have you find a solution to your problem? I'm using phonegap and trying the same thing and get a somewhat similar error message:

IAP error (only reported in test mode): restore failed with code 4983507

I created a sandbox tester profile and still the problem is persistent.

Thanks!
B
4
Posts: 8
Reputation: 208

Post » Mon Aug 03, 2015 6:22 am

@BabelChild I found a solution to it. Did you "add product ID & Request store listing?"
https://itunes.apple.com/us/app/id1004254105

We bet anyone a hundred dollars if they can reach the bone on the other side of the screen! (Only on the Impossible Mode)
B
10
S
2
Posts: 122
Reputation: 1,004

Post » Sun Oct 04, 2015 4:30 am

@ondraayyy so what did you do to test your IAP if you are so kind to share

or i should ask how did you test Your IAP
B
13
S
2
G
3
Posts: 4
Reputation: 2,756

Post » Sun Oct 04, 2015 10:02 am

Solution: put a normal price on your game and drop iap, it's repugnant and ruins games*




*no offence intended mate, I just loathe the awful things as I used to be a huge iPad gamer but the way freemium and iap have swamped the App Store these days, I've sold my iPad as I was sick of wading through mountains of f2p crap in order to find a good game. :'(
B
6
S
1
Posts: 73
Reputation: 556

Post » Mon Oct 05, 2015 2:50 am

@OldieSteve non taken mate- I can understand your point of view but in some cases is necessary
B
13
S
2
G
3
Posts: 4
Reputation: 2,756


Return to How do I....?

Who is online

Users browsing this forum: David181, Shenkai the ssj, tatogame, Yahoo [Bot] and 18 guests