How to sell items on your site
Using the Web Shop Page template, you can set up selling of items in the following ways:
Web Shop with top-up
This option allows you to sell virtual items and virtual currency individually or in bundles even if your game doesn’t have its own store. All purchases are granted directly to the game account by the user ID.
Benefits:
- doesn’t require integrating Xsolla Login
Limitations:
- user account data, e.g., their in-game balance, are not displayed in the store
User flow
- User opens the site.
- User enters their ID from the game in a special field. If the user validation is executed after the user enters the user ID, Xsolla sends a validation webhook to verify the user ID is valid. If the validation is passed, the user can proceed to the purchase. Otherwise, the user receives an error message.
- User chooses items and proceeds to the payment step.
- User chooses a payment method and pays for the items. If you have user ID validation with default settings, after choosing a payment method, Xsolla sends a validation webhook to verify the user ID is valid. If the validation is passed, the user can proceed with the payment. Otherwise, the user receives an error message.
- User pays for the items.
- User sees the purchased items in their account in the game.
How to get it
To set up the Web Shop with top-up, follow the instructions.
Web Shop with user authentication
This option allows you to create a fully functional store of in-game items on the site with the possibility of authentication. All purchases are granted to the player via the game account.
Benefits:
- authentication is more secure than User ID identification
- the ability to display player account data on the site, for example, currency balance
Limitations:
- requires integration of Xsolla Login
User flow
- User goes to the site.
- User logs in or signs up on the site.
- User chooses items and proceeds to the payment step.
- User pays for the items.
- User sees the purchased items in their account in the game.
How to get it
To set the Web Shop with user authentication, follow the instructions.
You can connect the shopping cart on the landing page via block Store. To activate the shopping cart in Web Shop, set up login through Xsolla Login and set the Shopping cart toggler to On.

Shopping cart connects automatically for other templates when the Store block is added.

Was this article helpful?
Rate this page
Don’t want to answer
Thank you for your feedback!
Found a typo or other text error? Select the text and press Ctrl+Enter.