in-app purchase issue (iOS + cocoonjs)

Discussion and feedback on Construct 2

Post » Wed Aug 13, 2014 1:36 pm

Hi to all,
is already the second time that apple reject my game for the same reason!
they try to buy "continue to the same level" iap (tap the buy button) and they write to me that does not work!

Before to send my binary on itunes connect I tried my IAP on the sandbox enviroment (store sandbox enabled on Cocoonjs plugin) with my test apple account and all works fine.....so I switch to store sandbox disabled, export to cocoonjs, compile the project and send the binary to
itunes connect via xcode.....
I waited a week before they reviwed my game and the response was "Rejected" for the same reason, they can't buy my in-app purchase!!!!

At this point I do not know what to do....
in test mode with test account all iap works fine on my iphone and ipad but when i disable the sandbox mode and send the app to apple for review this is regularly rejected!

I ask if anyone has the same problems like me....
I write for completeness that:
- I have 2 in-App purchases (1 consumable and 1 unconsumable)
- the first time I used the IAP plugin from construct 2 (and the iap works in test-mode but don't work for real purchase)
- Now I used the CocoonJS plugin (the plugin that is integrated in construct 2, not the beta plugin opensource)
- I set the store mode MANAGED
- I set the store sandbox to DISABLED

is there anyone who has managed to put its application on the apple store with the iap working?

thank's in advance
B
6
S
1
Posts: 62
Reputation: 578

Post » Wed Aug 13, 2014 1:50 pm

I dont think non-consumable works because restore purchase doesn't work last i checked.

So IAP to permanently unlock level or bonus, cannot be restored if users uninstall ur app and reinstall.

Wish i could help more but my game is also recently submitted & under review.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Wed Aug 13, 2014 2:15 pm

thanks but my problem is that my game was two time rejected for the same reason.... my IAP don't work! (the apple's person that controls my game says that tapping on buy button nothing happens!)
but when I test my IAP on my iphone (in sandboxmode enabled) all works fine.....

you have a consumable IAP that work?
your game was approved on the apple store?
B
6
S
1
Posts: 62
Reputation: 578

Post » Fri Aug 15, 2014 6:47 am

Here the answer of ludei team:
"You can double check if the xcode project that you use to generate the ipa has the sandbox mode disabled. Maybe you'd try to open the project (right-click on the xcodeproj file and select "Show package contents". Head to the folder appData/game and double check that the code has the proper flag set"

there is a button or procedure in xcode to disable the sandbox mode???
I only know that on the setting of the cocoonjs plugin in construct2 program I can disable this function....it true?
B
6
S
1
Posts: 62
Reputation: 578

Post » Fri Aug 15, 2014 12:29 pm

Have you tried and tested it for android as well?

I recently got rejected from Apple for the same reason. I'm hoping after seeing the same build work in google play that it will also work for Apple. I'll let you know how it goes.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Aug 15, 2014 12:41 pm

No I only send the game to the apple store....
Now are 2 days that I send the binary to the apple store for reviewing...I also will write here if my app pass the check and will be approved.

how do you set the setting of cocoonjs plugin in construct2?
I set the store mode MANAGED
and I set the store sandbox to DISABLED

and you?

you had used the cocoonjs object in your construct2 game? or you used the cocoonjs opensource plugin?
B
6
S
1
Posts: 62
Reputation: 578

Post » Fri Aug 15, 2014 2:29 pm

So the cocoonjs settings are set to store mode MANAGED and store sandbox to DISABLED. I am now using the opensource plugin (before it was the other when it was rejected).

Something to be careful of when updating the plugin is that your events get switched to different ones. So just recheck them to be sure.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Aug 15, 2014 10:59 pm

Just heard back from Apple and I have been rejected again...

"We found that your app exhibited one or more bugs, when reviewed on iPad running iOS 7.1.2 and iPhone 5s running iOS 7.1.2, on both Wi-Fi and cellular networks, which is not in compliance with the App Store Review Guidelines.

Specifically, we found that when we tapped on the upgrade button that it has no action. Please see the attached screenshot for more information."

Looks like there maybe an issue here...
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Aug 15, 2014 11:52 pm

Same result here. The reviewers of Apple can't buy IAP content with sandbox mode disabled.

-C2 r176
-CocoonJS 2.0.2
-Ludei Open Source Plugin
-Sandbox environment worked well with test ID

Rejected twice and wasted 2 weeks. :evil:

I tried to follow Ludei's way but can't find anything about sandbox flag in appData/game.......
Seems need further Ludei official help.........
B
121
S
32
G
8
Posts: 214
Reputation: 13,410

Post » Sat Aug 16, 2014 12:00 am

@ludei can we get some information on what to do next?
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests