Просмотр файла sdark.mobi/vendor/xsolla/xsolla-sdk-php/build/test-phar.php
<?php require __DIR__.'/artifacts/xsolla.phar'; use Xsolla\SDK\API\XsollaClient; use Xsolla\SDK\Webhook\WebhookServer; $client = XsollaClient::factory(array( 'merchant_id' => 'MERCHANT_ID', 'api_key' => 'API_KEY', )); $webhookServer = WebhookServer::create(function () {}, 'PROJECT_SECRET_KEY');