New IAP

The New IAP is killing me.

After months of work and ADHOC'ing, I had my game ready to submit.
Then I realized I needed to learn and implement the new IAP behaviors.
I have watched The Gamesalad Guru's video on them, (which is great),
and I followed step by step, but it is just not clicking in my head.

In ADHOC the purchase goes through and is successful, but it has no affect.

when "deletebannerads" is purchased and true, it is supposed to destroy the banner provider actor.

Thanks for any help!

(Inside the deletebannerads button.)

(Inside the banner show actor)

(inside purchase table)

Comments

  • DarveyDarvey Member Posts: 24

    The text expression in Confirm Purchase is
    tableCellvalue(game.PurchaseTable,1,5)

    But like I said,
    in ADHOC, the purchase goes through.
    But it doesn't delete the banner actor.

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited February 2015

    I usually set it up as,

    If deleteads is false = show banner.

    If the deleteads attribute is true it won't show ads because the rule won't fire.

  • ArmellineArmelline Member, PRO Posts: 5,369

    This should say "purchased" not "Purchased"

  • DarveyDarvey Member Posts: 24

    Thanks for your time guys.

    I tried changing both of those, but the purchase still isn't changing anything.
    Like the attribute is not getting changed or something.

    I just thought,
    Is it good practice to type in the expression for every time an attribute is used?
    Rather than using the "e".

    I knew not to use the e when filling in the table expressions, but I did use the e on the attributes.

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @Darvey, when you used the Expression Editor to type in the word purchased, did you use quotes? (So it should be typed in as: "purchased" )

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • ArmellineArmelline Member, PRO Posts: 5,369
    edited February 2015

    Building on what @gyroscope said, either type directly into the box without quotes, or open the expression editor and type into the field there with quotes.

    How are you ad hoc testing? Via Xcode, or using Apple's TestFlight system? In my experience, only the latter is reliable for testing in-app purchases.

    Feel free to mail me the project at support@armelline.com and I'll take a quick look for you.

  • DarveyDarvey Member Posts: 24

    @Armelline I sent you an email.

    Thanks for the response @gyroscope and Rabbitparrot

Sign In or Register to comment.