Get started

Serverless integration allows you to use Xsolla Pay Station to process purchases in games where all the game logic is implemented on the client side and the server part is missing. With this integration, you do not need to configure webhooks.

Limitations:

  • A short list of payment systems that is optimal for this type of integration is used.
  • In the payment interface, inventory, payment history, and balance, working with saved billing accounts and subscriptions are not available.

Requirements

System requirements

  • 64-bit OS
  • Windows 7 and higher
  • macOS 10.13.6 and higher
  • XCode 11.1 and higher (for macOS)
  • Visual Studio 2017 and higher
  • Unreal Engine 4.25 and higher

Target OS

  • iOS
  • Android
  • macOS
  • Windows 64-bit
Note
To modify the SDK for your application specifics, follow the SDK modification instruction.

Charge policy

Xsolla offers the necessary tools to help you build and grow your gaming business, including personalized support at every stage. The terms of payment are determined by the contract that can be signed via Publisher Account.

The cost of using all Xsolla products is 5% of the amount you receive for the sale of the game and in-game goods via the Xsolla Pay Station. If you do not use the Xsolla Pay Station in your application, but use other products, contact your Account Manager to clarify the terms and conditions.

Prerequisites

Before integrating the Payments UE4 SDK, follow these steps:

  1. Install the plugin.
  2. Set up the project in your Publisher Account.

Install the plugin

  1. Download the Epic Games Launcher.
  2. Create a new UE4 project.
  3. Download the plugin from Unreal Engine Marketplace or GitHub.

After installing the plugin, launch the demo map showing how Pay Station works with serverless integration.

Set up the project in your Publisher Account

  1. Register an Xsolla Publisher Account.
  2. Configure a Publisher Account project that is automatically created after the previous step:
    1. Click My game in the Projects block and go to Project settings.
    2. In setup mode, specify a Project name and click Save.

    1. Go to Integration settings and check that the Integrate Commerce API toggle is set to Off.

    1. Select the Serverless integration option.
    2. Click Save.

If you want to change the settings of a project that you already created earlier in your Publisher Account:

  1. Go to your project.
  2. Disable all modules except Virtual Items.
  3. Go to Project settings > Integration settings and check that the Integrate Commerce API toggle is set to Off.
  4. Select the Serverless integration option.
  5. Click Save.

During the integration process you will need the Project ID found in Publisher Account > Project settings > Project ID.

Demo

To demonstrate the functionality of serverless integration, we provide the ServerlessIntegrationDemo demo map. It is available in the Content Browser > XsollaPayments Content > Maps folder. Use it as an example.

By default, the demo uses the Project ID 68789 of a preset Publisher Account project.

Limitations:

  • User authentication is not available in the demo.
  • Demo supports the purchase of virtual items and currency packages for real money only.

Integration flow

To integrate the Payments UE4 SDK:

  1. Set up the Virtual Items module in your Publisher Account.
  2. Set up a JSON file with a list of in-game items.
  3. Set up the plugin for your UE4 project.

After the integration is complete, test the payment process.

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.

Continue reading