Xsolla Academy allows partners to organize game-based training sessions. Experienced players can sign up as paid coaches, and indicate their availability and service prices. Students can sign up, pay and join training sessions at a specified time. The partner will receive a certain percentage of each training session’s price.
To enable the Academy feature, send a request to integration@xsolla.com, including the following information:
- Merchant ID — shown in the Publisher Account URL: https://publisher.xsolla.com/{merchant_id}/.
- Company name.
- Desired UI settings:
- Header,
- Footer,
- Logo,
- Color theme.
After processing your request, we will send you a unique link to place on your website.
We recommend opening the portal UI in an iframe.
Code example
<iframe class="landing-iframe" src="<link>" width="100%"
height="" marginwidth="0" marginheight="0" frameborder="0" allowfullscreen=""
style="height: 2127px;"></iframe>
To match the sizes of the portal and your website, you need to set up a JS listener.
Example (event.data stores width and height parameters):
window.addEventListener('message', function (event)
{
var json = $.parseJSON(event.data);
$('.landing-iframe').outerHeight(json.data.height);
});