РЕШЕНО Не удалось выплатить! Попробуйте позже.

Zomanuid

Участник
Здравствуйте! Помогите пожалуйста настроить выплаты! В class config всё прописано! И куда надо вставить код, который дается, когда настраиваешь API? ошибка при попытке вывести : попробуйте позже! В админке баланс Payeer пишет: not setting. Спасибо
 

pligin

Команда форума
Администратор
Здравствуйте! Помогите пожалуйста настроить выплаты! В class config всё прописано! И куда надо вставить код, который дается, когда настраиваешь API? ошибка при попытке вывести : попробуйте позже! В админке баланс Payeer пишет: not setting. Спасибо
Если в class.config.php все прописано, то почему ты спрашиваешь про код (секретный ключ/слово), который даётся при настройке API?
 

itshim7

Местный
In Fruit Farm scripts, in the automatic payments module, upon payment, the error text " Failed to pay! Try again later. " Is displayed in two cases:
1. Authorization error through Payeer API - very frequent
PHP:
$payeer = new rfs_payeer($config->AccountNumber, $config->apiId, $config->apiKey);
if ($payeer->isAuth())
{ ....
} else echo "<center> <font color = 'red'> <b> Failed to pay! Try again later. </b> </font> </center> <BR />"; [/ PHP]
Check that the Payeer API data is correctly specified in the classes / _class.config.php configuration file
[PHP]
$ AccountNumber = 'P1234567' // your wallet number
$ apiId = '1234567890'; // API ID
$ apiKey = 'secret_key_api'; // secret key for accessing the API
Or there are errors in the class of functions _class.rfs_payeer.php (if you corrected something there)
2. Error receiving balance
PHP:
if($arBalance["auth_error"] == 0)
{....
} else echo "<center> <font color = 'red'> <b> Failed to pay! Try again later. </b> </font> </center> <BR />"; [/ PHP]
This error indicates that the function to receive the balance array cannot be authorized in the Payeer API.
Appears only when you, not knowing what you are doing, decide to edit [B]_class.rfs_payeer.php.

Tip: To quickly calculate the error, make the error display texts different.[/B]
For example:
1. The script could not log in - "Failed to pay. Error 231"
2. The script could not get the balance array - "Failed to pay. Error 631"
Etc...
[/QUOTE]
Getting this error. I followed your mentioned steps. [B]Error 631. Failed to pay! Try again later[/B] is caused by 

$payeer = new rfs_payeer($config->AccountNumber, $config->apiId, $config->apiKey);
                        if ($payeer->isAuth()){

I have cross checked Payeer API data on _class.config.php all looks fine.
 

itshim7

Местный
Getting this error. I followed your mentioned steps. Error 631. Failed to pay! Try again later is caused by

$payeer = new rfs_payeer($config->AccountNumber, $config->apiId, $config->apiKey);
if ($payeer->isAuth()){

I have cross checked Payeer API data on _class.config.php all looks fine.
 
Верх