Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

In app purchase questions

Discussion in 'PSM' started by mike950, Oct 30, 2014.

  1. mike950

    mike950

    Joined:
    Sep 30, 2012
    Posts:
    94
    I'm probably asking a dumb question but the examples have buttons called
    GetProductInfo and GetTicketInfo. We're not supposed to have those in the actual game are we?
    If not how and where do you call these functions? I get an error just calling them in start().
    Also I see in the documentation "In-App Purchase Implementation Overview". Is there another section somewhere that's not an overview but goes into the details?
    Thanks!


    Edit: Figured it out..just need to setup states and make sure isproductinfocomplete is true before calling ticketinfo then wait for isticketinfocomplete.
     
    Last edited: Oct 31, 2014