The SDK supports the item purchase from the catalog in one click or via the shopping cart.
To test the purchase process, you can use sandbox mode of payment UI and test cards. The sandbox mode only simulates the behavior of a payment method; no real money is involved. To try sandbox, you don't need to sign any agreements with Xsolla or pay any fees.
Xsolla can act as a payment gateway when players pay for in-game purchases via Steam. In this case, you don’t need to integrate the Steam SDK or take into account the nuances of paying via Steam when setting up an in-game store.
To set up payments via Steam:
- Sign an additional agreement with Xsolla.
- Set up the gateway for Steam in your Publisher Account.
- Set up native authentication via Steam.
- Go to your Unreal Engine project.
- Go to
Settings > Project Settings > Plugins > Xsolla Settingsand check the Build for Steambox.
After changing the Unreal Engine project settings, the
x-steam-userid header will be added to the payment token request.
Was this article helpful?
Found a typo or other text error? Select the text and press Ctrl+Enter.