IAP in C2: is it still possible?

Discussion and feedback on Construct 2

Post » Sun Mar 26, 2017 5:57 pm

Did anyone recently released a game on Android or iOS with In-App Purchases? Either with the official IAP plugin or the one from Cocoon.

I have the feeling that all the options to add IAP in our projects are not working and abandoned. I hope I am wrong.

Any opinion?

Thank you
B
10
S
2
Posts: 36
Reputation: 824

Post » Sun Mar 26, 2017 6:38 pm

Cranberry's Cordova plugin works great. It lets the player purchase items as well as checking for previously purchased items.

https://github.com/cranberrygame/cordov ... ayment-iap

Purchase item, on purchase successful, has item, restore purchase, on restore purchases successful, etc.

Googe play (I'm no sure about Apple) has a really long key code you have to get, i think its under API. Once you get a game set up on the Dev console, uploaded, you'll be able to get it. It's really long. You have to copy and paste that into the Cordova IAP object. That's what links your game to Google Play.
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Sun Mar 26, 2017 7:05 pm

Phoenixbowman wrote:Cranberry's Cordova plugin works great. It lets the player purchase items as well as checking for previously purchased items.

https://github.com/cranberrygame/cordov ... ayment-iap

Purchase item, on purchase successful, has item, restore purchase, on restore purchases successful, etc.

Googe play (I'm no sure about Apple) has a really long key code you have to get, i think its under API. Once you get a game set up on the Dev console, uploaded, you'll be able to get it. It's really long. You have to copy and paste that into the Cordova IAP object. That's what links your game to Google Play.


Thank you very much.

What do you use for exporting after implementing IAP with crandberry? Cocoon.io, XDK...

Also, do you know where to find the plugin. I guess it's included in the "Construct2 Cordova Plugins" pack of Scirra's store, right?

Thank you again!
B
10
S
2
Posts: 36
Reputation: 824

Post » Sun Mar 26, 2017 7:22 pm

I used to use XDX but Intel is ending support for the build server this June >< meaning now it's phone gap, cocoon, or writing dos commands eeep.

That link I copied and pasted should lead to the plugin.

PS: Do you know how to do Kongregate Kreds in Construct 2? i've looked everywhere and can't find out how. I found Rex' Rainbow kong plugin but idk if it can do things like check purchases success, restore purchase, etc.
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Sun Mar 26, 2017 8:07 pm

Thanks again.

I am sorry but I have never worked with Kongregate and I had even to search about Kreds. No clue :(
B
10
S
2
Posts: 36
Reputation: 824

Post » Sun Mar 26, 2017 8:41 pm

It's okay about Kongregate. Idk know if the Cordova cranberry IAP is part of the main cordova package but it should be.

Remember, you need to have an .apk uploaded to Google Play to get the long character code to put into the IAP object
B
20
S
7
G
3
Posts: 302
Reputation: 3,634


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests