Здраствуйте.
Подскажите пожайлуста как добиться выплат на киви.
Выплаты на паеер кошелек проводятся без проблем при попытке произвести выплату на киви в логах следующее
Array
(
[0] => Не удалось определить id системы для проведения выплаты
)
Откройте папку дополнения и файл class/Rap_Payeer.php
На 107 строке найдите строчку
$this->errors[] = "Не удалось определить id системы для проведения выплаты";
и после нее, до return false; добавьте:
rcl_add_log('Rap_Payeer', [ 'wallet' => $this->wallet, 'system' => $this->system, 'system_id' => $ps_id ]);
Сделала. В логах вместо id почему то пусто
14:03:35 Rap_Payeer
Array
(
[wallet] => +79187247292
[system] => QIWI
[system_id] =>
)
14:03:35 Rap_Payeer: FAIL
Array
(
[0] => Не удалось определить id системы для проведения выплаты
А должно быть как я понимаю ID: 26808. Это можно увидеть в массовых выплатах
)
В том же файле на ~262 строке найдите
$systems = $this->cpayeer->getPaySystems();
И после добавьте
rcl_add_log('Rap_Payeer', [ 'systems' => $systems ]);
Пока что все выглядит так будто payeer не знает такую систему как "QIWI", может они что-то переименовали.
Вот
Array
(
[systems] => Array
(
[auth_error] => 0
[errors] => Array
(
)
[list] => Array
(
[1136053] => Array
(
[id] => 1136053
[name] => Payeer
[gate_commission] => Array
(
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => USD
[1] => RUB
[2] => EUR
[3] => BTC
[4] => ETH
[5] => BCH
[6] => LTC
[7] => DAA
[8] => XRP
[9] => UST
)
[commission_site_percent] => 0.95
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Номер счета
[reg_expr] => #^[Pp]{1}[0-9]{7,15}|.+@.+..+$#
[example] => P1000000
)
)
[sum_min] => Array
(
[USD] => 0.02
[RUB] => 1
[EUR] => 0.02
[BTC] => 0.0001
[ETH] => 0.001
[BCH] => 0.001
[LTC] => 0.001
[DAA] => 0.001
[XRP] => 0.1
[UST] => 0.02
)
[sum_max] => Array
(
[USD] => 1000000000
[RUB] => 1000000000
[EUR] => 1000000000
[BTC] => 1000000000
[ETH] => 1000000000
[BCH] => 1000000000
[LTC] => 1000000000
[DAA] => 1000000000
[XRP] => 1000000000
[UST] => 1000000000
)
)
[87893285] => Array
(
[id] => 87893285
[name] => Advcash
[gate_commission] => Array
(
[USD] => 1.99%
[RUB] => 0.99%
[EUR] => 1.99%
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => USD
[1] => RUB
[2] => EUR
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Номер счета
[reg_expr] => #^[RUE]{1}[0-9]{7,15}|.+@.+..+$#
[example] => advcash@payeer.com
)
)
[sum_min] => Array
(
[USD] => 1
[RUB] => 10
[EUR] => 1
)
[sum_max] => Array
(
[USD] => 999999
[RUB] => 55000000
[EUR] => 900000
)
)
[22238179] => Array
(
[id] => 22238179
[name] => PerfectMoney
[gate_commission] => Array
(
[USD] => 0.5%
[EUR] => 0.5%
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => USD
[1] => EUR
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Номер счета
[reg_expr] => #^([UE]{1}[d]{5,10})$#
[example] => U39152XX
)
)
[sum_min] => Array
(
[USD] => 1
[EUR] => 1
)
[sum_max] => Array
(
)
)
[189279909] => Array
(
[id] => 189279909
[name] => Bitcoin
[gate_commission] => Array
(
[BTC] => 0.00065
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => BTC
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Bitcoin-address
[reg_expr] => #^[A-Za-z0-9]{32,62}$#
[example] => 13C3fxYMZzbt9HsTvCni779gqXyPadGtTQ
)
)
[sum_min] => Array
(
[BTC] => 0.0001
)
[sum_max] => Array
(
[BTC] => 10
)
)
[1031498068] => Array
(
[id] => 1031498068
[name] => Tether
[gate_commission] => Array
(
[UST] => 10
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => UST
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Tether (ERC-20)
[reg_expr] => #^0x[A-Za-z0-9]{40,40}$#
[example] => 0x0bdca97324da3f6e5df8c66ad67d62eea0ba6e57
)
)
[sum_min] => Array
(
[UST] => 20
)
[sum_max] => Array
(
[UST] => 500000
)
)
[421934187] => Array
(
[id] => 421934187
[name] => Ethereum
[gate_commission] => Array
(
[ETH] => 0.0065
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => ETH
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Ethereum-address
[reg_expr] => #^0x[A-Za-z0-9]{40,40}$#
[example] => 0x0bdca97324da3f6e5df8c66ad67d62eea0ba6e57
)
)
[sum_min] => Array
(
[ETH] => 0.001
)
[sum_max] => Array
(
[ETH] => 100
)
)
[515388130] => Array
(
[id] => 515388130
[name] => Litecoin
[gate_commission] => Array
(
[LTC] => 0.01
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => LTC
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Litecoin-address
[reg_expr] => #^[A-Za-z0-9]{32,43}$#
[example] => LZYYLmDWFg4bcujUHa7AtihcpSpKM5JbGo
)
)
[sum_min] => Array
(
[LTC] => 0.01
)
[sum_max] => Array
(
[LTC] => 200
)
)
[493677279] => Array
(
[id] => 493677279
[name] => Bitcoin Cash
[gate_commission] => Array
(
[BCH] => 0.001
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => BCH
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => BitcoinCash-address
[reg_expr] => #^[A-Za-z0-9:]{32,54}$#
[example] => bitcoincash:qz7vqcnjf6ps3nxmdve2tshxdnu0m8xeq50c5pvuyr
)
)
[sum_min] => Array
(
[BCH] => 0.01
)
[sum_max] => Array
(
[BCH] => 1000
)
)
[543465457] => Array
(
[id] => 543465457
[name] => Dash
[gate_commission] => Array
(
[DAA] => 0.006
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => DAA
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => Dash-address
[reg_expr] => #^[A-Za-z0-9]{32,34}$#
[example] => XkvxoLRnrBKv6EFuzf1ftkMyGNFe3nSXTv
)
)
[sum_min] => Array
(
[DAA] => 0.01
)
[sum_max] => Array
(
[DAA] => 10000
)
)
[824221662] => Array
(
[id] => 824221662
[name] => Ripple
[gate_commission] => Array
(
[XRP] => 0.25
)
[gate_commission_min] => Array
(
)
[gate_commission_max] => Array
(
)
[currencies] => Array
(
[0] => XRP
)
[commission_site_percent] => 0
[r_fields] => Array
(
[ACCOUNT_NUMBER] => Array
(
[name] => XRP-адрес
[reg_expr] => #^[A-Za-z0-9]{32,34}$#
[example] => rshvnxLDE9Jsm8sJxPxct425HhQC2tk5CV
)
[TAG] => Array
(
[name] => Tag
[reg_expr] => #^[0-9]{1,10}$#
[example] => 1234567890
)
)
[sum_min] => Array
(
[XRP] => 20
)
[sum_max] => Array
(
[XRP] => 100000
)
)
)
)
)
15:37:47 Rap_Payeer
Array
(
[wallet] => +79187247292
[system] => QIWI
[system_id] =>
)
15:37:47 Rap_Payeer: FAIL
Array
(
[0] => Не удалось определить id системы для проведения выплаты
)
Можете попробовать привести метод
public function getPaySystemId($system)
К такому виду:
public function getPaySystemId($system) { if($system == 'QIWI') { return 26808; } $systems = $this->cpayeer->getPaySystems(); $id = false; foreach ($systems['list'] as $system_id => $system_data) { if ($system_data['name'] == $system) { $id = $system_id; break; } } return $id; }
Но скорее всего это не сработает, видимо они убрали поддержку QIWI но на сайте забыли обновить информацию. Ну или это какие-то временные проблемы с QIWI