General information
You can monetize your game by selling your own virtual currency through the Metaframe widget. To do this, configure the
User flow
- The user clicks on the
Wallet icon in the Metaframe widget. - In the
Wallet section of the currency block, the user clicks on the purchase button. - In the opened catalog of virtual currency packages, the user selects a currency package and proceeds to the purchase.
- The user makes a payment using Xsolla Pay. The purchased currency is displayed in the user’s balance in the
Wallet section of the Metaframe widget. - The user purchases in-game items or services using the acquired virtual currency. After the purchase, the balance of the virtual currency in the wallet decreases.
Integration flow
- Integrate Metaframe.
- Connect Xsolla Pay.
- Add the
Wallet section to the widget:- Open your project in Publisher Account.
- In the side menu, click Metaframe.
- In the Virtual currencies panel, click the Enable virtual currencies toggle.
- Create virtual currency packages in Publisher Account.
- Set up webhooks in the Publisher Account.
- Configure user virtual currency management using API methods.
- Test the virtual currency purchase process.
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.