How to set up Web Shop Page template

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

  1. User opens the site.
  2. 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.
  3. User chooses items and proceeds to the payment step.
  4. 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.
  5. User pays for the items.
  6. 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

  1. User goes to the site.
  2. User logs in or signs up on the site.
  3. User chooses items and proceeds to the payment step.
  4. User pays for the items.
  5. 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.

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.
Rate this page
Rate this page
Is there anything we can improve?

Don’t want to answer

Thank you for your feedback!
Last updated: December 29, 2021

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!