General information
The demo project represents one of the possible use cases for Xsolla products (Login, Shop Builder and Pay Station). The demo uses the preset project in Publisher Account with a fully configured in-game store.
You can use the demo project in two ways:
- As an example.
- As an initial version of the login system, inventory, and in-game store. You can get an instant result and expand the demo features.
To try the demo, open demo project in Cocos Creator and launch the /assets/scenes/
directory.
The demo project covers the following user scenarios:
- Classic login via a username/email and password
- Social login
- Login using a device ID (for mobile demo scene)
- Passwordless login via a one-time code or a link sent in the SMS or email
- Purchase for real or virtual currency
- Purchase in one click or using the shopping cart
- Consuming items from the player inventory
Note
The demo works in sandbox mode by default. To test the purchase process, use test cards. Sandbox mode only simulates the behavior of a payment method, no real money is involved. To try sandbox mode, you don’t need to sign any agreements with Xsolla or pay any fees.
- User account management
- User attributes customization
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.