Learn about advanced setups from our how-tos.

How to set up deep links

Use this how-to when working with the Payments library.

You can return users to your application after they pay for in-game purchases via an external browser. To do this, set up deep links:

  1. Go to Xsolla Publisher Account.
  2. Go to your project and click Open in the Pay Station block.
  3. Go to Settings.
  4. Specify the required parameters in the Redirect policy section and click Save.
  5. Add the Return URL (a URL address or a path a user is redirected to after making a payment) configured in Publisher Account to the strings.xml file of application module as shown in the example. An example is given for a Return URL with the value app://yourgame.

Full screen
Small screen
<string name="xsolla_payments_redirect_scheme">app</string>
<string name="xsolla_payments_redirect_host">yourgame</string>

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.
Last updated: June 17, 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!