Checkout

Checkout is a payment interface solution for partners who have their own in-game store. This solution simplifies the opening of the payment interface, so it is enough to pass the purchase price and name of the purchase in the request to receive the token. All the logic of the store's operation is on the partner's side.

To accept payments using a checkout, configure in one of the following ways:

Note
To implement the logic of purchasing items inside your application, you can use Xsolla's ready-made solution — the In-Game Store. In this case, you will also get a convenient interface for paying for purchases and will be able to manage the player's inventory.

Configure using Xsolla Login

  1. Connect Xsolla Login.
  2. Implement receiving a payment token using the Create payment token API call.

Note
To display the name and image of the purchased product in Xsolla Pay Station, pass the purchase.items.name and purchase.items.image_url parameters in the request body.

  1. Implement the opening of the payment UI on the in-game store page using the token obtained in the previous step.
  2. Set up webhooks.
  3. Set up a checkout in your Publisher Account.

Configure using your own authorization system

  1. Implement receiving a payment token using the Create payment token by server API call. Pass the following parameters in the request body:
    • user.email — to receive a receipt by the user
    • user.name — to display the username in the payment interface
    • purchase.items.name — to display the name of the purchased item in the payment interface
    • purchase.items.image_url — to display an image of the purchased item in the payment interface

  1. Implement the opening of the payment UI on the in-game store page using the token obtained in the previous step.
  2. Set up webhooks.
  3. Set up a checkout in your Publisher Account.

Set up checkout in Publisher Account

  1. Go to your Publisher Account.
  2. Go to Project settings > Webhooks > Checkout, and click Connect.

  1. Specify the parameters and click Test.

  1. Click Pay Station in the left-hand-side menu and go to Settings.
  2. Set the Checkout toggle to On.

  1. Click Save.

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: June 18, 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!