I’ve created an app for the Facebook Gameroom and would like to see how to add in app purchases. I assume my only option is to use Facebook’s canvas payments as the game is within the Facebook Gameroom. Is that correct? I’m using the 5.6 beta at this point. Should I be able to that now or is that a feature coming this year? Thanks in advance. John
Hi,
Unity IAP support for Gameroom is currently available via a download from the Facebook developer pages here. The package there will need to be imported into your project manually and supports both the Facebook-specific Unity 5.5 release and current 5.6 beta releases.
This functionality will also be available in an upcoming general release of Unity IAP (date / version still TBD) to coincide with general availability of Unity 5.6.
In all cases the Gameroom-based IAP relies on Canvas Payments / Payments Lite to simplify setup on your end and should look like any other Unity IAP store in your game. There are currently no “Non-consumable” or “Subscription” product types in the Payments Lite setup screen, but if you use ProductType.NonConsumable in your app’s AddProduct() then UnityIAP will treat it internally as a non-consumable (which prevents repurchases and enables purchase restoration.) Subscriptions are a bit more complex…
-Jay