Integration with PlayFab

How it works

PlayFab offers game developers ready-to-use server solutions to manage item catalog and monetization. After integration with PlayFab, you can:

Limitations

  • PlayFab uses virtual currency that is coded as RM (Real money) and is equivalent to real currency — 1 cent (100 RM = 1 USD). You can specify the price of the products either in virtual currency or in RM.
  • Items’ SKUs must be unique and consist of numbers, Latin letters, hyphens and underscores.

Who can use it

  • Partners who integrated PlayFab and now want to increase items (virtual currency and virtual items) distribution area via Buy Button or In-Game Store.
  • Partners who integrated the Buy Button solution or Player Inventory and now want to monetize their items in PlayFab (sell items for real currency).

How to get it

Importing items to Xsolla

Note
To work with PlayFab, you’ll need the unique game Title ID and secret project key from PlayFab.

If you have not configured PlayFab yet, do the following:

Go to Publisher Account and import item catalog from PlayFab to In-Game Store.

Note
You can import virtual items, virtual currency or virtual currency packages.

Add items to the PlayFab inventory

You can set up the adding of items purchased in the Xsolla In-Game Store to your PlayFab inventory in the following ways:

Note
Playfab allows you not to set the name or description of the product. In this case, an empty string is returned in the API calls.

If you want to synchronize user inventory with PlayFab:

  1. Open your project in Publisher Account.
  2. Click Store in the side menu.
  3. In the Catalog Management pane, click Configure.
  4. In the Integration with external platforms pane, click Configure.
  5. In the PlayFab pane, click Configure.
  6. Go to the Inventory synchronization and specify:
  7. Set the Synchronize user inventory with PlayFab toggle to On.
  8. Click Save.

Now information about items purchased in the In-Game Store are automatically transferred to PlayFab.

Ready-made scripts

BaaS (Backend-as-a-Service) providers offer developers a variety of out-of-the-box solutions for their back-end needs. You can use ready-made functions to integrate Xsolla products with BaaS services that are already configured in your project.

Functions that are currently available for interacting with PlayFab include using In-Game Store with BaaS authorization.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Rate this page
Rate this page
Is there anything we can improve?

Don’t want to answer

Thank you for your feedback!
Last updated: August 8, 2022

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!