playMaker

Author Topic: Unity 5+ IAP and Ads actions  (Read 9267 times)

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Unity 5+ IAP and Ads actions
« Reply #15 on: July 21, 2017, 12:39:46 PM »
Cool. The actions are here: https://github.com/dumbgamedev/IAP_Playmaker

It requires that IAP be installed via unity. You need this installed before the actions, or Unity will throw a bunch of compiler errors.

Open the services window in Unity and signup/sign in as necessary. Then choose to enable In-App Purchasing and follow the steps.

Store products are added using the Unity IAP window.
Window > Unity IAP > IAP Catalog.

The package includes a test store action, which will spawn a gameobject with a script attached that works like the store for simple testing. Note however, it does not simulate "Restore Products".  :(

ultimate_carl

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Unity 5+ IAP and Ads actions
« Reply #16 on: November 25, 2017, 08:08:52 PM »
How do we initialize, though? Android apps need to check purchase status so Google Play can automatically restore if needed, and it would be nice to get that purchased status and save it.
« Last Edit: November 25, 2017, 08:15:05 PM by ultimate_carl »