Set up the plugin for your UE4 Project
- Open your UE4 project in Unreal Editor.
- For Blueprint projects only:
- Compile your UE4 project.
- Go to the
Content Browser and add aNew C++ Class with theNone parent node.
- Go to
Settings > Plugins > Installed > Xsolla Payments SDK . Check theEnabled box and click theRestart Now button to save settings and reload the Unreal Editor. - Go to
Content Browser > View Options and check the boxes forShow Engine Content andShow Plugin Content .

- Import a JSON file with in-game items list to your UE4 project:
- Go to
Content Browser . - In the right-click menu go to
New Asset > Import to . - Select the previously created JSON file. Unreal Editor will offer you to create a new
DataTable asset. - Choose
XsollaItemFormat for row type and set import key field namesku . - Click
OK .
- Go to

- When importing an asset, there might be some warnings for items with the
bundle_content field set tonull . They can be ignored. As a result, you should get a data table that looks like the image below.

- Connect the added asset:
- Go to
Content Browser > XsollaPayments Content > UI folder and openW_StoreDemo_SI blueprint. - Go to the
Graph view. - Click
Class Defaults . - In the
Details panel, specify the asset created in the previous steps.
- Go to

- Go to
Settings > Project Settings > Plugins > Xsolla Payments and specify the Project ID.

- Go to
Content Browser > XsollaPayments Content > Maps and launch theServerlessIntegrationDemo demo map of the game.
- Customize the integration demo settings if needed:
- Follow UMG UI Designer documentation to customize the user interface.
- Set up events processing.
Note
To modify the SDK for your application specifics, follow the SDK modification instruction.
Was this article helpful?
Thank you for your feedback!
We'll review your message and use it to help us improve your experience.