Cybersurfer5000's Forum Posts

  • 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.

  • Hello guys!

    I set up Cranberries Phonegap In-App Purchase plugin (plugin version 2.0.32, Construct 2 R195). The APK was build via Intel XDK. It's working fine as a Beta-Test in Google Play. The IAP product can be purchased.

    However, the purchased product is not remembered. When the App is closed and re-opened, the user does not have the In-App Product any more. Trying to buy it a second time doesn't work. It results in an "Alert" message via the browser object I set up (browser>Alert>Purchase failed).

    I went through all the tutorials, read and reread forum posts & the phonegap instructions but can't figure it out. Does anybody spot where I did the mistake? I would appreciate any hint so much

    Here are screenshots of the Google Console In-App section & C2 of all actions related to the In-App Purchase:

    [attachment=0:2gpi82zg][/attachment:2gpi82zg]

    [attachment=2:2gpi82zg][/attachment:2gpi82zg]

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

  • ddaan9 & Reinarte It would help me a lot to have you guys give me a line what you think the problem is. THANK YOU!

  • I was able to get the In-App Purchase working. However, the purchase is not remember. When the App is closed and re-opened, the user does not have the In-App Product any more. Trying to buy it a second time results in an "Alert" message via the browser object I set up (browser>Alert>Purchase failed).

    I went through all the tuts, read and reread forum posts & the phonegap instructions but can't figure it out. Does anybody spot where I did the mistake? I would appreciate any hint so much

    Here are screenshots of the Google Console In-App section & C2 of all actions related to the In-App Purchase:

    [attachment=1:37b2y2fz][/attachment:37b2y2fz]

    [attachment=0:37b2y2fz][/attachment:37b2y2fz]

    [attachment=2:37b2y2fz][/attachment:37b2y2fz]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Congrats!!!

  • Thank you for you help. I try it... lets see....

  • Creating/destoying objects gives you better performance. Could you rephrase your last question.

    Cheers

    Sophia

  • Reinarte: I have exactly the same issue as ddaan9. However, I don't have the file "intelxdk.config.additions.xml". I exported using Cordova and imported it into Intel XDK. I have the Phonegap IAP 2.0.32 plugin and C2 R195.

    I hope you have a quick hint where I have to look to solve the issue.

    Cheers

    Sophia

  • ddaan9: did u solve the issue? I have the same and I still haven't figured out what causes it.