Done setting up IAP Phonegap, but IAP is not working???

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

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

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

    Cybersurfer5000

    There are many lines spread command with these plugins, it is not possible to make this precise way to get time to do a small capx file only with all the commands that you want.

  • I understand. Thanks for your help so far.

  • Cybersurfer5000

    Have you managed to solve your IAP related issue so far? If not, maybe you can re-iterate where you are currently stuck and I can try to assist?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I understand. Thanks for your help so far.

    Hello you could solve anything? I now have greater reputation than 300 and I can now send links, I created an account on dropbox to send pictures and files.

  • 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

  • Reinarte Cybersurfer5000

    I am using the Cranberrygames' IAP plugin.

    And I ran into the same issue in XDK where its not building the APK. Throws me error that it couldnt install the PhonegapIAP.

    I have the exact same lines in the additon.xml

    Please tell me you you were able to compile your projects.

    Thanks!

  • I exactly have the same problem but on iOS. I am using C2 official IAP plugin with cordova export.

    When I try to test from my sandbox tester account in itunesconnect, then nothing happens as I click on the iAP products. No pop-up nothing...Just stays as it is...Please let me know if C2 official IAP plugin works fine OR should I use Cranberry' s plugin.

    Edit - I used Phonegap IAP plugin from cranberry plugin and used the same code as above in C2, then exported with cordova to iOS...Still nothing happens!

  • Reinarte Cybersurfer5000

    I am using the Cranberrygames' IAP plugin.

    And I ran into the same issue in XDK where its not building the APK. Throws me error that it couldnt install the PhonegapIAP.

    I have the exact same lines in the additon.xml

    Please tell me you you were able to compile your projects.

    Thanks!

    Sim amigo,

    ocorre exatamente como voce falou, quando o arquivo

    "intelxdk.config.additions.xml" está da forma que o Construct 2 exporta.

    mas se voce alterar o arquivo e deixa-lo dessa forma o erro não irá acontecer,

    eu agora posso colocar links na resposta, veja no dropbox como eu coloquei.

    dropbox.com/s/vxfwl5eva6xjc ... P.xml?dl=0

  • > Reinarte Cybersurfer5000

    >

    > I am using the Cranberrygames' IAP plugin.

    >

    > And I ran into the same issue in XDK where its not building the APK. Throws me error that it couldnt install the PhonegapIAP.

    >

    > I have the exact same lines in the additon.xml

    >

    > Please tell me you you were able to compile your projects.

    > Thanks!

    >

    Sim amigo,

    ocorre exatamente como voce falou, quando o arquivo

    "intelxdk.config.additions.xml" está da forma que o Construct 2 exporta.

    mas se voce alterar o arquivo e deixa-lo dessa forma o erro não irá acontecer,

    eu agora posso colocar links na resposta, veja no dropbox como eu coloquei.

    https://www.dropbox.com/s/vxfwl5eva6xjc ... P.xml?dl=0

    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" />

    <intelxdk:plugin intelxdk:name="org.apache.cordova.inappbrowser" intelxdk:value="org.apache.cordova.inappbrowser" />

  • >

    > > Reinarte Cybersurfer5000

    > >

    > > I am using the Cranberrygames' IAP plugin.

    > >

    > > And I ran into the same issue in XDK where its not building the APK. Throws me error that it couldnt install the PhonegapIAP.

    > >

    > > I have the exact same lines in the additon.xml

    > >

    > > Please tell me you you were able to compile your projects.

    > > Thanks!

    > >

    > Sim amigo,

    > ocorre exatamente como voce falou, quando o arquivo

    > "intelxdk.config.additions.xml" está da forma que o Construct 2 exporta.

    > mas se voce alterar o arquivo e deixa-lo dessa forma o erro não irá acontecer,

    > eu agora posso colocar links na resposta, veja no dropbox como eu coloquei.

    >

    > https://www.dropbox.com/s/vxfwl5eva6xjc ... P.xml?dl=0

    >

    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#4306f62a0d9683eca8d8be135533dd92f6a446c1" />

    <intelxdk:plugin intelxdk:name="org.apache.cordova.inappbrowser" intelxdk:value="org.apache.cordova.inappbrowser" />

    Thanks Amigo,

    I found out the issue. I was using both Offical IAP(for Windows 8) and Crannyberries IAP(for Android). For some reason Intel XDK only allows you to keep one of them.

    If I remove anyone, then Intel XDK is able to Build without any issues!

    Now I am forced to create two version of teh game game ... Windows and Android! So much for have a single source file <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • SamRock: which OS do you aim to publish?

  • Cybersurfer5000 Windows 8 and Android for now.

  • Hello SamRock: I would try the following:

    1) did you follow this tutorial: https://www.scirra.com/tutorials/1286/how-to-get-iap-to-work-with-crosswalk-xdk

    2) update XDK and Construct 2 to the latest version

    3) in XDK>Build Settings>Android-Crosswalk(tab)>Crosswalk version: change "stable" to "10"

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)