CocoonJS IAP Checklist

Discussion and feedback on Construct 2

Post » Mon Aug 19, 2013 7:00 am

Check these setp

In In-App Purchases (once you've enable store above) in configuration put you IOS Share Secret Key and Tick Sandbox mode for TESTING.

Add your Product to the Available Products (same ID as the ones set-up on Apple/Google i.e. com.appname.premium), these are for testing.


If you not yet release your app on the applestore , you need a ios device without jailbreak to test IAP in sanbox.


Purchase Product only purchase the product. If you already purchased. It will failed.

you need add a restore purchase button.

Restore Purchase action will check your purchased and tigger the Purchase success.


My iap app has just been released.I found it will not purchase success on the store. But it success in the sandbox environment. I think I need to upload a new no iap version for the time being.

https://itunes.apple.com/us/app/sweets-monster-halloween/id660610227?ls=1&mt=8
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Tue Aug 20, 2013 1:19 am

@nofish - that's a shame that the IAP doesn't work now that it's in the store - your game looks really awesome!

I agree with you, I think I might have to just switch to paid too if things aren't worked out in the next week or so. This is so frustrating though
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Tue Aug 20, 2013 3:29 am

by the way, when you say tick sandbox mode, do you mean "Debug Mode"?

There seems to be no sandbox mode tickbox in the configuration page.
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Tue Aug 20, 2013 5:34 am

Ok I made a little more progress:

I created a brand new test user in itunes connect. From doing a bit of research I read one developer signed out of his ipad, and did not sign back in even with the test account

I followed this and activated the IAP. This time, the purchase actually completed - great!

However, after I hit Buy, it keeps prompting me continuously to make the purchase. If I hit cancel at any time, it stops but then the purchase shows failed.   

Ah well, getting slightly closer...
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Tue Aug 20, 2013 6:00 am

YES!!! I think I finally got it to work

The problem was my own fault I think. I triggered the purchase with a "Is in Touch with" condition. However, the touch would have triggered several purchases per tick. I fixed this and now it works fine in the sandbox.

I thought I'd share it here:

B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Wed Aug 21, 2013 1:27 pm

The IAP seem work in the store. But the purchase sucess delay someday.I receive the purchase success information today.


you can use "is touching object"and "on any touch end" to do tigger once action.Nofish2013-08-21 13:31:06
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Thu Aug 22, 2013 10:43 am

@Nofish - That was probably me I tested your IAP, and it did seem to work. I received a notification in my email that I had been billed for the purchase.

Do you know if Ads currently work?
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Fri Aug 23, 2013 8:39 am

@EyeHawk Thanks!
I haven't test ADs in cocoonJS .
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Sat Aug 24, 2013 12:04 am

ads do work using mopub on ios mine dont seem to working using mopub on android tho

take a look at them working in my app https://itunes.apple.com/us/app/clear-the-blocks/id663993743?ls=1&mt=8
B
5
Posts: 36
Reputation: 845

Post » Sat Aug 24, 2013 2:17 pm

How do you set up your actual Products on Cocoonjs Database?
B
16
S
3
G
2
Posts: 62
Reputation: 3,225

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: supreme676, TRMG, zenox98 and 8 guests