You can add a payment solution to your game with a few simple steps:
For an overview on Facebook Payments, you may want to take a look at the documentation.
If needed, refer to the official FB sample code for Unity hosted on Github and the script on payments.
To learn more about Unity SDK calls, refer to the Unity SDK reference.
You need to get your game approved for listing in the Facebook App Center before it can go live. Upload your image assets, edit the description under Details, and submit it under the Review sub-section.
For more information, follow these instructions: https://developers.facebook.com/docs/games/listing
To prevent the app from showing the permissions dialog twice, you need to configure the App Center permissions to match the permissions that your app requests.
For example, if you are requesting the permissions user_friends and email, configure the following under App Center > Details > App Center Listed Platforms > Configure App Center Permissions:
Note that asking for the
user_friends permission requires your app to go through app review.
When you first launch the game, you will see the permissions prompt asking for your public Profile, Friends list and email address. If you have configured the App Center Permissions to ask for all the permissions that your game needs, the player will not be prompted a second time within your game.
Either create a new App Page or link to an existing App Page. You can find this option under Settings > Advanced > App Page:
In order to be able to link to an existing page:
App Pageas your first category.
Once you are ready to launch your game, follow these steps:
Under App Center, list your game in App Center - App on Facebook with all your app icons, screenshots and videos:
Once your app is approved, set the status to Live:
Push your .zip file to Production so we can access and test your game:
Submit your app for App Center and make sure that it is approved before going to the next step. Please mention that it is a Gameroom native game in the submission notes. More info about App Center review here.