CocoonJS IAP Checklist

Discussion and feedback on Construct 2

Post » Sat Aug 10, 2013 9:48 am

@Uk4dee

Hi! Uk4dee,Finally I got the IAP and purchased store works. Thanks!


I have a question what to do with "Is prudoct purchased"?Nofish2013-08-10 09:55:03
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Sun Aug 11, 2013 9:58 am

Humm sure I have followed this to the letter, even made another app on Google Play.

Any one have a working IAP for a Managed Product in the Google Play Store?

1. Screenshot of the Construct Cocoonjs plugin settings (managed/unmanaged etc)
2. Screenshot of Construct code.
3. Screenshot of Google play settings
4. Screenshot of Cocoonjs settings

Help. If I ever get this going I will post these up.

Thanks.darryltyson2013-08-11 09:59:28
B
5
Posts: 11
Reputation: 384

Post » Sun Aug 11, 2013 10:07 am

@Nofish - do IAPs only work for non-consumables?
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Sun Aug 11, 2013 12:19 pm

I only test non-consumables.But I think it works for all type.
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Sun Aug 11, 2013 12:53 pm

@Nofish - ok thanks.

Was there anything special you had to do outside of the instructions to get things working?

For me the purchases fail every time, and I have no idea what the cause is either
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Sun Aug 11, 2013 1:36 pm

The instructions include all thing.
I only test iap on IOS.
The pic Uk4dee post help me to understand the restore action will trigger the "on purchase completed".Don't use the "Is prudoct purchased".
By the way I finally set the stroe mode to Managed.I'm not sure whether this effect IAP restore.
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Mon Aug 12, 2013 5:48 am

@Nofish - I ended up starting a new project just to make sure I hadn't missed anything. It worked, but I noticed that when I made the purchase, I kept getting prompted to login to itunes, even though I was already logged in with a test account.

When I logged in it would pop up a new message "Verification Required", and just repeated the same process over and over again.

Did you ever get anything weird like that?
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Mon Aug 12, 2013 9:53 pm

Guys, good news - I emailed Ludei, and they've said that they have an update in a couple of weeks or so that will upgrade their store functionality. Hopefully this will clear up any of the issues that we're experiencing.
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Thu Aug 15, 2013 8:02 am

@Uk4dee (just adding you as you have been very helpful earlier)

Is there any options to get the error message when the purchase fails?

I have set everything up now, got the app in the google play store etc.

When i hit the button i have made to do the purchase it ends up in the:

CocoonJsAds --> on <myproduct> purchase failed

is there any option to get the error message it returns? would make it easier to figure out what is not working.

On a side note:
There is a "Store sandbox" option on the CocoonJsAds object. Should that be enabled or disabled when you upload to google play for testing?cvp2013-08-15 08:05:48
B
19
S
6
G
4
Posts: 342
Reputation: 4,392

Post » Mon Aug 19, 2013 4:05 am

@Nofish, @Uk4dee - what are the expected results once you have executed the "Purchase Product IAP" action?

For me in iOS, it pops up with the following things:

1. "Confirm your In app purchase" (It references the correct iap I set up in itunes connect

2.I hit Buy, and then it comes up with: "Verification Required"
3. I hit continue, and it prompts me to enter my Apple ID Password, which I do
4. Then it take me to itunes, and pops up with "[environment sandbox]"
5. I hit continue, and it prompts me to enter my Apple ID password again
6. repeats the entire cycle again

If I cancel at any point, the whole process fails.

I think I'm getting close, but I'm still missing something.
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: neverk, Psychokiller1888 and 14 guests