Does restoring purchases work? Cocoonjs

Get help using Construct 2

Post » Wed Apr 08, 2015 4:05 am

Hi guys, Ive read through some posts here and it looked like the restoring IAP purchases on Cocoonjs wasnt working. Does anyone know if they fixed this and how it works?
Thanks
ImageImage
B
31
S
7
Posts: 310
Reputation: 2,551

Post » Wed Apr 08, 2015 8:10 am

Hello,

It was a problem on the sandbox mode. We fixed it a while ago.

Cheers.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Wed Apr 08, 2015 9:16 am

Okay thanks Ludei, I was just wondering how to implement it in my game. The actions I would need to use and how to use them properly.
ImageImage
B
31
S
7
Posts: 310
Reputation: 2,551

Post » Wed Apr 08, 2015 9:35 am

Hello,

There is a very small demo inside the plugin, you might find it useful: https://github.com/ludei/Construct-2-pl ... aster/capx

I recommend you to use the one for r195 and higher.

Cheers.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Wed Apr 08, 2015 9:41 am

Fantastic, thank you so much for the support! Keep up the great work y'all doing!
Cheers
ImageImage
B
31
S
7
Posts: 310
Reputation: 2,551

Post » Tue Apr 28, 2015 5:53 pm

@ludei I've tried every combination of events and I still cant get the restore purchases working. I looked at your exaple capx and nothing works like you have it in the CAPX. For my IAP and GooglePlay Services to work I had to add "Is In Cocoonjs" first. I dont understand why its so esoteric/rough to find out how to use your plugin properly.

Has anyone had luck? Anyone at all? I just want to get back to what I like, making games.
If I cant figure this out Im going to have to switch to another wrapper, whats the best alternative to cocoonjs?
ImageImage
B
31
S
7
Posts: 310
Reputation: 2,551

Post » Wed Apr 29, 2015 2:05 pm

Hello,

I have no idea how you are testing, but the InApps are working. I have been testing them during the last week.
Are you using iOS or Android? Are using the sandbox mode? If so, what message does your app return?
What about the log? Does it say something remarkable?
Are you using Canvas+? Does the console log at the launcher report any error?

I can't help you without information.

Regards
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Wed Apr 29, 2015 2:43 pm

@Ludei

Hi, Im testing with the release version of the game thats up on google play. Yes the IAP are working, I can purchase no problem and have successfully purchased the IAP on two devices.

The problem Im having is when a user uninstalls the app and reinstalls it the IAP goes away and prompts you to pay again. So, Im trying to RESTORE the purchases with a button under the buy button.

Its an Android app and the product is managed (not consumable). The purchases are showing in the Ludei Dev Portal and Google Play Dev Console. The app doesnt return any messages at all when I press the restore purchases button. It does nothing, I tried to code it every way I could find online plus the way you do it in the example CAPX.

I am using Canvas+, I dont use the launcher so I dont know.
I have the sandbox mode enabled in C2, should I have it disabled? What log should I be checking?

Sorry for not giving you the extra info you needed and I didnt mean to sound like a jerk. I know you guys are dealing with a lot but when you spend a whole day and a half messing with the thing you start to lose it :cry:

Could I send you my capx to see what and if its wrong?

Thanks

P.S - I got the leaderboard working so Im not a total idiot haha
ImageImage
B
31
S
7
Posts: 310
Reputation: 2,551

Post » Fri May 01, 2015 12:58 am

@ Ludei

All the info is up a post, do you know why RESTORING purchases isnt working for me? Can I send you my CAPX?
Thanks
ImageImage
B
31
S
7
Posts: 310
Reputation: 2,551


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests