Cybersurfer5000's Recent Forum Activity

  • Hi suneelnairk and Reinarte, thanks for asking! The IAP of my non-consumable product works now! I had to restore the purchase on the layout. So, every time the layout starts, the user's purchase is restored. See screenshot (Thanks cranberrygames!)

    [attachment=0:1gdn38me][/attachment:1gdn38me]

    Sophia

  • I understand. Thanks for your help so far.

  • Reinarte: thanks! I give it a try. Do you have a sceenshot of C2 with the conditions & actions related to the PhonegapGame, PhonegapIAP and GooglePlay?

  • Hello.

    I have an app, that was build using C2 R195, Phonegap IAP plugin 2.0.32, Intel XDK. The in-app purchase of an non-consumable product works fine in a beta version on Google Play.

    What I struggle with is: I want the app to check whether the product has already been purchased or not. I use the "Has product" condition. If that condition is fulfilled, an action is triggered. The problem is, that the action is not triggered. Does anybody have an idea where I make a mistake? Any bit of help is very much appreciated!

    Here are screenshots of Google Play In-App products section and all C2 actions in the app:

    Thanks in advance! Sophia

    [attachment=2:23helz19][/attachment:23helz19]

    [attachment=1:23helz19][/attachment:23helz19]

    [attachment=0:23helz19][/attachment:23helz19]

  • Reinarte: Thanks! I'll test it...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have Android 4.1.1.

    Could you tell me more about the "achievement", Reinarte?

    Maybe that is a way for me to solve my problem with the IAP plugin.

    What is the condition and action you use in C2?

    Do you use the Phonegap IAP plugin?

    How do you set it up in Google Play Developer Console?

  • I like your game "Stroke". Really solid and fun!

    That strategy with the achievement sounds interesting.

    What is the condition and action you use in C2?

    Do you use the Phonegap IAP plugin?

    How do you set it up in Google Play Developer Console?

    Thanks in advance! Sophia

  • Thanks for the post. It will be useful for my work. I would like to answer your question about the event stop but I can't. I am a newcomer myself.

    Cheers

    Sophia

  • Hello.

    I have an app, that was build using C2 R195, Phonegap IAP plugin 2.0.32, Intel XDK. The in-app purchase of an non-consumable product works fine in a beta version on Google Play.

    What I struggle with is: I want the app to check whether the product has already been purchased or not. I use the "Has product" condition. If that condition is fulfilled, an action is triggered. The problem is, that the action is not triggered. Does anybody have an idea where I make a mistake? Any bit of help is very much appreciated!

    Here are screenshots of Google Play In-App products section and all C2 actions in the app:

    Thanks in advance! Sophia

    [attachment=2:1l583ge3][/attachment:1l583ge3]

  • Daan, you might record you playing the game and publish the video on YouTube and Google Play. I like the bunnies!

  • Reinarte: Thanks for your prompt response!!!

    Here are some details: it is a single, managed, non-consumable in-app product.

    To your questions: yes, the product with product ID "xyz" is released when purchased. As far as I understand, the purchase of product "xyz" is stored in the Google Play account of the user.

    With the condition 'Has product' "xyz", the app checks on Google Play, if the user has purchased product "xyz". If that is true, an action in the app is triggered.

    My logic is: user buys product "xyz" once > Google stores purchase of product "xyz" indefinitely > app recognizes that product "xyz" has been purchased > action triggered

    If the user closes app or uninstalls the app and re-installs it later > the app still recognizes that product "xyz" has been purchased in the past > action triggered

    I am not sure, where I make an error in the logic. Are you saying, I cannot use the "Has product" condition for non-consumable products? If so, what would be the correct condition?

    Thank you in advance, Reinarte!!!

    PS: I understand the second issue with the failed purchase on the second attempt. That makes sense to me.

Cybersurfer5000's avatar

Cybersurfer5000

Member since 6 Mar, 2014

None one is following Cybersurfer5000 yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies