HZGaming's Recent Forum Activity

  • Colludium that would make sense but the restore purchases button is only applicable when the player somehow deletes his local storage data like by uninstalling or reinstalling the app or switching to a new phone. I'm not sure how I would detect that.

  • bump

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BinaryPanda the beta update actually fixes all of our problems I just tested it and it indeed does work now. Be sure to update your Construct 2 version to get the benefits. I was about to invest in Cranberry game plugins when Ashley updated it.

  • Recently my app was rejected from the iOS store again because it did not include a restore purchases button. The only IAPs in my game are a few consumable options to buy more in game currency but they are saved to the local storage. How do I make a restore purchases button? Also what would it do in my game?

    ***EDIT*** Okay so after making a restore purchases button and playing around with the restore action, the restore purchases button in my game adds on the amount of coins that the player has bought but it continuously adds on coins even if the device wasn't switched or if the restore purchases button is being clicked over and over again. For example, when I buy 1000 coins, I can click the restore purchases buttons as many times and it will continue adding 1000 coins. How do I test if the device was switched? I'm testing in testflight if that helps.

    Also, some possible solutions I've tried to think up is adding a variable that prevents the player from clicking the restore purchases button more than once and then resetting the restore purchases button to make it clickable again when the player buys a new product but I'm almost certain this wouldn't work. Has anyone found a solution or knows how to use the restore purchases action?

    It's been almost two months of troubleshooting the IAP object so I'm desperate for answers. Any help is appreciated.

  • I've alerted Kyatric who has alerted Ashley as well. I'm currently running r224/the newest beta version.

  • Okay, sorry for the multipost in a row. Thanks for confirming the issue though and letting Ashley know Excited for when the bug will be fixed

  • Apparently, the IAP object only works in Android but not iOS. Another link about the issue.

    I think the issue either has to do with Cordova or with Apple. I already paid 99 dollars for my apple account and this issue is preventing me from uploading my app to the appstore Maybe Ashley or Kyatric know a solution?

  • Here are some links to other forum posts that are experiencing similar problems.

    I haven't been able to find any answers to this problem? Anyone know the solution?

  • Recently, my app was rejected from the appstore because my IAP purchases did not activate. Upon investigating, I found that the On Store listing success condition does not work. I have a global variable that will be changed to 1 if the store listing is successful and if it fails then it is set to -1. Otherwise, it stays at 0. In my game, whenever you click the buy 10 coins button for 99 cents, it will also test if the global variable is 1 or -1. Then, depending on the outcome, it will buy the product or it will produce a error message sprite. However, when testing on my iPhone through testFlight, the global variable stays at 0 and doesn't change meaning the store listing didn't fail or succeed. I don't think it's an issue with my code. I've also seen other topics about this mostly by BinaryPanda but no actual answers were submitted. Has anyone ever gotten IAP to work on iOS? Also, all the product names/id are correct. I've triple checked of that so I don't what to do. Please help!

  • I'm having the same problem where the store listing on success/failed does not work. I also get the same error. Have you found a fix to this?

  • For my game I've been struggling to use the native IAP object. It's been rejected from the Appstore because the IAP don't work. I'm using phonegap to build and so I test the .ipa file on my phone and whenever I start my game it asks me to verify my apple ID which I do but it always says I failed to verify because I entered the password wrong which I didn't. Also whenever I click the buy product button that should trigger the IAP, nothing happens. How can I fix this? Note I also edited the config file to the cordova plugin because the old one doesn't upload to phonegap.

  • I made an iPhone app and exported it with phone gap. It uses iAd object, gamecenter object, and IAP object. The ipa file runs very smoothly on my phone and on several other devices so I suspect that the IAP or leaderboards from gamecenter are causing the issue. When I try to use the IAP while testing, a message Sprite I created shows up indicating that the purchase failed so I think the IAP works fine. The leaderboards sometimes shows the leaderboard but it doesn't let me sign in on test mode or on my phone. I urgently need help. Thanks.

HZGaming's avatar

HZGaming

Member since 1 Mar, 2014

None one is following HZGaming yet!

Trophy Case

  • 10-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies