In App Purchase Not Loading After Opening

ajladueajladue Member, PRO Posts: 24
One of my apps has an in app purchase which allows the user to pay $.99 to remove the ads from the game. It initially appears that it works in that after buying it everything changes and the ads are gone; however, when you completely close out of the app and re enter it, the app does not remember that it has been purchased so you have to restore the purchase and then it will fix it until you close the app and re enter it again. I have a load attribute in the initial scene which loads the product key "noads" in to the attribute "No Ads"(which is set to stop showing the banners and such). I really dont understand what I could be doing wrong.
Thanks!

Comments

  • Dazza006Dazza006 Member Posts: 248
    edited March 2013
    Have you added a save attribute? and make sure the keys are exactly the same.
    @ajladue
    you have to add the I.A.P item attribute found in pro.
  • ajladueajladue Member, PRO Posts: 24
    Yes i have. I have I.A.P item attribute inside of a button which takes the product key and then changes the attribute "No Ads" to true. I have read that the I.A.P attribute saves the change in the attribute as whatever the product key is called and then you load that key into the attribute. Do I need to do a save attribute along with the I.A.P item?
  • Dazza006Dazza006 Member Posts: 248
    I think the non consumable I.A.P automatically saves.
    You just need a load.
Sign In or Register to comment.