Unity IAP in 2020 Facebook and other Web Stores.

Hi everyone,

Unity IAP claims to support Facebook Gameroom:

I have in-app working for Google play correctly, but in a webGL build for Facebook Gameroom it shows fakestore windows. Do I have to setup something additionally for it to work properly or is it no longer supported in 2020 Unity?

Also how can I add my own custom stores?

Thanks

Can you show your Build settings dialog? Please show the purchasing code that you are using.

For Gameroom [External] Facebook Store for Unity IAP - Google Docs

Hi Jeff,

In older versions of Unity I saw setting for Facebook, but in 2020, they are not in build settings:

The Google Doc you shared has some details about specifing Facebook app id, but how do I set those in a WebGL build?

My first thought was that you merged WebGL and Facebook into one, as Unity IAP description says it supports Facebook.

We don’t support WebGL for IAP. What web store specifically are you looking for? For Facebook, the platform is GameRoom.

@JeffDUnity3D

Yes, I’m looking for Gameroom, but where can I get it for 2020?
In Unity HUB there is no module for Gameroom and so in my build settings, as you can see on the screenshot above.

The Facebook Gameroom target has been deprecated and removed in Unity version 2019.3. https://docs.unity3d.com/Manual/Facebook-GettingStarted.html

If you are using WebGL and still want to distribute your games on Gameroom, you just need to integrate the SDK and publish it manually.

@SamOYUnity3D

Do you think Unity IAP package is somehow prepared to work with Facebook SDK directly, since Gameroom was deprecated from build options? Or everything should be written from scratch?

You might consider using a previous version of Unity. And be aware that Gameroom is not web based.

@JeffDUnity3D are you aware of any IAP solutions for standalone web games (i.e. something hosted on its own domain, like a .io game)? Is there a way to directly integrate a payment processor like Stripe, XSolla, etc.?

Those products have their own Unity plugins in some cases, you would want to contact them directly. We don’t provide a web based store connector.

Got it. Thanks @JeffDUnity3D !