Loading...
Помощь по скриптам | Xsolla и настройка
Народ расскажите как подключить эту платежку? файлы все есть не могу отбить дупля что куда вписывать
php
   if (isset($_GET['almaz'])){     $curl = curl_init();     curl_setopt($curl, CURLOPT_URL, 'https://api.xsolla.com/merchant/merchants/260034/token');     $h = array("Content-Type: application/json");     curl_setopt($curl, CURLOPT_HTTPHEADER, $h);     curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);     curl_setopt($curl, CURLOPT_USERPWD, '260034:zdFzlIdBetlZ2ApiEBfmv');     curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);     curl_setopt($curl, CURLOPT_POST, true);     $json = array("user" => array("id" => array("value" => $user['id'], "hidden" => true)), "settings" => array("project_id" => 185088/*, "mode" => "sandbox"*/));     $json = json_encode($json);     curl_setopt($curl, CURLOPT_POSTFIELDS, $json);     $token = json_decode(curl_exec($curl))->token;     curl_close($curl);     if (isset($token)) { //         header("Location:https://sandbox-secure.xsolla.com/paystation2/?access_token=$token");         header("Location:https://secure.xsolla.com/paystation2/?access_token=$token");         exit;     } else {         $_SESSION['msg'] = 'Ошибка платежной системы - обратитесь к администратору';         header("Location:/xsolla/");         exit;     } }   
https://developers.xsolla.com/ru/doc/pay-station/integration-guide/get-token/

Тут почитай если не работал с xsolla
БЕЛАЗ , спасибо щас погрызу мануал.
GRAFkool , там все есть. Вплодь до api
А договор с xsolla заключил? В курсе сколько идет налог с платежа?
Подключи платёжку XPLATA, огонь!! Ребята все сделают за тебя, полностью подключат и настрою.
Онлайн: 1
Время:
Gen. 0.0855
(c) Bym.Guru 2010-2026