Set up events processing

Note
Events are key actions that a user performs during the payment process.

The processing of the events is already set up in the integration demo. You can use it and change the settings accordingly:

  • If the plugin is installed from Epic Games Launcher, open your UE project in Unreal Editor and go to Xsolla Content > Demo > W_PaymentsWidget.
  • If the plugin is installed from GitHub, open your UE project in Unreal Editor and go to Plugins > Xsolla > Content > Demo > W_PaymentsWidget.

If you could not find the files mentioned above in Unreal Editor, go to View Options, enable the Show Plugin Content option, and try again.

To set up your own project’s events:

  1. Open your UE project in Unreal Editor.
  2. Follow the UMG UI Designer documentation to add and design the interface.
  3. Open the interface in the Graph view.
  4. Set up Set Play Fab Settings node. For the Game Title Id input, specify Title ID from your PlayFab project. You can find it in the project settings in Title Settings > API Features section or in the address bar of the browser when navigating to the project settings.

  1. Add and set up another Xsolla UE4 SDK nodes if needed.
  2. Compile the Blueprint/C++ class and play the level.

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