0 Replies Latest reply: Jun 17, 2014 3:06 AM by DavidDragon RSS

    In App Purchases with the Gaming SDK

    DavidDragon Community Member

      So I have multiple questions about the ProductStore ANE. I'm able to glean the gist of the tools from the example, but I can't find answers to some of these details:

       

      1) When making a purchase/restoring transactions, is the productIdentifier the Product ID in the app store? ie Product X has product ID 12345, I would compare the Transaction.productIdentifier with this number to confirm what item was bought/restored? And where should I check this, on TransactionEvent.FINISH_TRANSACTION_SUCCESS or PURCHASE_TRANSACTION_SUCCESS or something else?

      2) What is the point of pendingtransactions? If I have pending transactions do I need to process these some how, and how do I know what to do with them?

      3) When making a purchase, it sends data to a URL with the domain "sandbox", will I need to change this when I want to make the final version, and if so what do I change it to? How does the sandbox enable me to test purchases?

      4) When I start my app, it asks me to enter my password for my Apple ID but it says the "ID cannot be found or wrong password", is this due to the sandbox mode, and how would I fix that? I've signed out of the App Store and tried signing in on my app but that did not seem to help.

       

      Does anyone have an implementation of the ProductStore ANE they are willing to share or know of any good tutorials? The docs are helpful but not particularly detailed.

       

      Thanks!