Use your own UI
Overview
When you create your own in-game store UI, you can use Xsolla tools to display the catalog, open the payment UI, and grant purchases to users. Xsolla allows you to accept payments through 1,000+ methods via a user-friendly UI.
Choose an integration scenario based on where the payment token is generated—client-side or server-side. Review the table below to find the best option for your project.
Note
Refer to the Configure payment UI and flow section for detailed information about configuring and customizing the payment UI.
Integration scenarios
Notice
If you’re looking for a simplified integration option, try our new Unity asset. It enables in-app payments within and outside of stores in a platform-compliant way.
| Generating the payment token on client side | Generating the payment token on server side | |
|---|---|---|
| How to choose an integration scenario? | ||
| Who can use it? |
|
|
| Detailed information about the differences. | ||
| User authentication. | User authentication is performed on Xsolla servers. As a ready-made solution, you can use the Xsolla Login widget. | User authentication is performed on your server. You define the method and interface for authentication yourself. |
| Order creation. | On user devices. | On your server. |
| Determining the user’s country. | Xsolla determines the user's country from the IP address or information you transmit in the payment token. | You need to pass either the country or the IP address in the payment token. |
Determining the user’s country to:
| ||
| Tracking the order status. | You can track the order status in two ways:
| You need to set up webhook processing on your server. You can use ready-made Pay Station PHP SDK classes. |
| Integrate | Integrate | |
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.