FAQs

What is the container_id used to set up a widget using an npm-package?

container_id is the ID of the HTML markup element according to the Document Object Model (DOM) into which the widget is embedded.

Example:

Copy
Full screen
Small screen
    <html>
    <head>
    <script>
    widget.show('container-id-where-to-embed-widget');
    </script>
    </head>
    
    <body>
    <div id="container-id-where-to-embed-widget'"></div>
    </body>
    </html>
    

    Why doesn’t the camera work when passing the identification procedure (KYC)?

    This issue might occur if the allow=“camera” attribute is not passed in the iframe for opening the widget.

    Example of an iframe with the passed attribute:

    Copy
    Full screen
    Small screen
      <iframe allow="camera" src="https://payouts-widget.xsolla.com?token=<customer_token>"></iframe>
      
      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: January 22, 2024

      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!