Additional parameters for OpenStore()

The XsollaReadyToUseStore.OpenStore() method supports additional configuration that allows you to tailor the behavior of the module using custom parameters.

Method signature:

Copy
Full screen
Small screen
1XsollaReadyToUseStore.OpenStore(
2    ReadyToUseStoreConfig config = null,
3    IPrefabsProvider prefabsProvider = null,
4    IStoreListener storeListener = null
5);

Parameters:

  • сonfig — a configuration object containing additional store launch settings. Available fields:
FieldTypeDescription
LocalestringThe language of the Xsolla Login widget and the payment UI (e,g., “en”). Supported values ​​are listed in the Localization section.
TokenDataTokenDataTokens for user authentication without using the Xsolla Login widget.
CatalogParentTransformThe UI container into which the store is embedded.
IsDontDestroyOnLoadbooleanWhether to persist the store between scenes, false by default.
IsCheckEventSystemExistsbooleanWhether to check for the presence of the EventSystem component on the scene before launching the store. If true is passed and the EventSystem component is missing, it will be created automatically. true by default.
  • prefabsProvider — an object implementing the IPrefabsProvider interface, which allows you to replace standard UI prefabs with your own (e.g., item cards, buttons).
  • storeListener — an interface for handling events such as a successful purchase or a store closing.
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: July 7, 2025

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!
We couldn't send your feedback
Try again later or contact us at doc_feedback@xsolla.com.