Amazon Gamecircle and in app purchases

rematicrematic Member, PRO Posts: 0
Hey guys,

we can't seem to get in app purchases working for android (amazon app store). We did everything according to the cookbook but it just doesn't work. There are no error messages, not even in the logs (logcat). Nothing happens when the button, the behaviour is bound to, is clicked.

Additionally, gamecircle wasn't working either at first. I had to reverse the apk and fix the manifest myself for it to work.

After logging in to gamecircle, you get redirected to "amzn://PACKAGE_NAME?scopeAndSoOn", but the intent filter for the url scheme had "com.gamesalad.player" in its host attribute, so it didn't match.

I couldn't post an example of the change i made to the manifest, it just cuts the tags away, but i think you get it ;)

Comments

  • squirrel42squirrel42 Member, PRO Posts: 195
    +1 for no IAP, currently pulling hair out...
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    your not alone with the iAP stuff. nothing happens when I hit the buttons on my app.

    However, my GameCircle achievements are working fine without any sort of extra steps
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited October 2013
    Here is the issue. Amazon doesn't have a sand boxing system like Apple. Amazon doesn't let unapproved apps talk to the IAP client on the device. In order to test you must download the Amazon SDK, yes Amazon has their own Android SDK. There is a SDK tool for testing your IAP. It requires you to write a JSON file containing your IAP info. Here is the link explaining how to set it all up. Time to put on your big boy pants this is direction GS's is headed. You want more features but they all can't be drag and drop, it's just not gonna happen. Wait until scripting is implimented.

    https://developer.amazon.com/sdk/in-app-purchasing/documentation/testing-iap.html
Sign In or Register to comment.