Gestión de compras

Learn about advanced setups from our how-tos.

Cómo establecer los pagos a través de Steam

Aviso
Use this how-to when working only with the Game Commerce plug-in.

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:

  1. Sign an additional agreement with Xsolla.

Nota
Xsolla takes a reduced Revenue share when making payments via Steam. Check the details with your Account Manager.
  1. Set up the gateway for Steam in your Publisher Account.
  2. Set up native authentication via Steam.
  3. Go to your UE4 project.
  4. Go to Settings > Project Settings > Plugins > Xsolla Store and check the Build for Steam box.

After changing the UE4 project settings, the x-steam-userid header will be added to the payment token request.

¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Ocultar

Cómo trabajar con cupones

Aviso

Use this how-to when working only with the following plug-ins:

  • Game Commerce
  • Cross-Buy

The Cross-Buy plug-in will be deprecated in March 2022. You can continue to use it, but it will not be updated and supplemented with new features. It is recommended to switch to the Game Commerce plug-in. It contains all the classes and methods needed to work with Xsolla products.

To get new users to your application and increase sales, you can implement coupon promotions. When redeeming a coupon, the user may receive one of the following rewards:

  • virtual currency package
  • game key
  • virtual item

For details on the features and limitations of coupon promotions, see the In-Game Store guide.

To work with coupon promotions:

  1. Complete the settings in Publisher Account following to the instructions for setting up promotional campaigns with coupons.
  2. Implement in-game logic using the following SDK methods:

    • GetCouponRewards — gets a list of items that can be credited to the user when the coupon is redeemed.
    • RedeemCoupon — redeems the coupon code and rewards the user.
Nota
If it is undesirable for your application to implement an interface and additional logic for working with coupons, contact your Account Manager to set up a campaign with coupons. In this case, the input and activation of the coupon are carried out not in the interface of the cart, but when paying for the purchase in Pay Station.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Ocultar

Cómo trabajar con códigos promocionales

Aviso
Use this how-to when working only with the Game Commerce plug-in.

To get new users to your application and increase sales, you can implement a campaign with promo codes. When redeeming a promo code, the user may receive one or more of the following rewards:

  • discount that applies to the user’s cart
  • bonus items:
    • virtual currency package
    • game key
    • virtual item including a bundle or time-limited items

For details on the features and limitations of campaigns with promo codes, see the In-Game Store guide.

To work with promo codes:

  1. Complete the settings in Publisher Account by following the instructions for setting up a campaign with promo codes.
  2. Implement in-game logic using the following SDK methods:

    • GetPromocodeRewards — gets promo code rewards. Allows users to choose one of many items as a bonus.
    • RedeemPromocode — redeems promo code. After redeeming a promo code, the user gets free items and/or the price of the cart is decreased.
Nota
If it is undesirable for your application to implement an interface and additional logic for working with promo codes, contact your Account Manager to set up a campaign with promo codes. In this case, the input and activation of the promotional code will be carried out not in the interface of the cart, but when paying for the purchase in Pay Station.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Ocultar

Cómo trabajar con lotes

Aviso
Use this how-to when working only with the Game Commerce plug-in.

To get new users to your application and increase sales, you can sell sets of items as bundles for less than the cost of their content.

A bundle may include:

  • virtual currency (including the platform-dependent currency)
  • package of virtual currency
  • game keys for preselected DRMs
  • virtual items including time-limited items
  • bundles

For details on the features and limitations of bundles, see the In-Game Store guide.

To work with bundles:

  1. Complete the settings in Publisher Account by following the instructions for setting up a bundle.
  2. Implement in-game logic using the following SDK methods:

    • UpdateBundles — gets a list of bundles for building a catalog.
    • GetSpecifiedBundle — gets a bundle for the specified SKU.
Nota
For bundles that contain items sold for real currency, the total cost of these items is passed in the total_content_price parameter. You can use this value to display the benefits of buying a bundle in your application.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Ocultar

Cómo utilizar el sitio web de la tienda en el juego con kits SDK

Aviso

Use this how-to when working only with the following plug-ins:

  • Game Commerce
  • Cross-Buy

The Cross-Buy plug-in will be deprecated in March 2022. You can continue to use it, but it will not be updated and supplemented with new features. It is recommended to switch to the Game Commerce plug-in. It contains all the classes and methods needed to work with Xsolla products.

Implement the sale of virtual items and virtual currency outside the game via the store site. The purchased items and currency will be available in the player’s inventory.

To integrate your store site with the SDK:

  1. Create a store site.
  2. Specify the site address of the in-game store in the application code.
  3. Implement the logic for your application to work with the store site.

Crear un sitio web de tienda

You can create a store site with Site Builder by following the instructions for connecting a store on the site.

Aviso
By default, when creating a site, a new Login project is created in Publisher Account. When setting up Site Builder, use the same Login project as when you set up the SDK.

If you want to connect a store site that was created using a different solution, follow the instructions for creating a store.

Recomendaciones para que la lógica para su aplicación funcione con el sitio web de la tienda

Follow these recommendations when developing your application:

  1. Synchronize the fields of user registration and authorization in your application and in the Login widget on the store site:
    • If a user email and password are used for registration and authorization, set the username equal to the email in the application.

Nota
The widget uses the user’s email and password by default for authorization and registration.
    • If you use a username, user email and password for registration and authorization, contact your Account Manager to change the Login widget fields.
  1. When navigating to the store site from the application client, implement pass-through user authorization. To do this, the user token must be passed in the URL parameters. An example of authorization is shown in the demo map for the Cross-Buy plug-in.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Ocultar
Última actualización: 10 de Octubre de 2023

¿Has encontrado una errata u otro error de texto? Selecciona el texto y pulsa Ctrl+Intro.

Informar de un problema
Nos esforzamos por ofrecer contenido de calidad. Tus comentarios nos ayudan a mejorar.
Déjanos tu correo electrónico para que te podamos responder
¡Gracias por tu mensaje!