# Billmanager 6

Загрузите архив [aaio\_billmgr6.zip](https://aaio.so/upload/cms/aaio_billmgr6.zip)\
Разархивируйте архив\
\
**1.** С помощью SFTP-клиента скопируйте папки в директорию `/usr/local/mgr5` на сервере.\
Если требуется замена файлов, то нужно согласиться.

> Для работы модуля требуются пакеты: **php-cli**, **php-common**, **php-xml**

\
**2.** Выдайте права **755** PHP файлам модуля и перезагрузите биллинг командами:

```bash
chmod 755 /usr/local/mgr5/cgi/aaio_payment.php
chmod 755 /usr/local/mgr5/cgi/aaio_result.php
chmod 755 /usr/local/mgr5/include/php/bill_func_aaio.php
chmod 755 /usr/local/mgr5/paymethods/pmaaio.php
/usr/local/mgr5/sbin/mgrctl exit -m billmgr
```

\
**3.** Перейдите в Billmanager под аккаунтом администратора в раздел **Провайдер -> Методы оплаты -> Создать**\
![](/files/hgo1m7jMK1gVEGqsmZYp)

**4.** Найдите модуль **Aaio** и нажмите **Добавить**\
![](/files/GUDqqRf7FRkLr6Ro6ACb)

**5.** Заполните все настройки\
![](/files/T9fydAzVjJOKNUHS6MaN)

**6.** Начните принимать платежи через **Aaio**!

> Не забудьте указать URL Оповещения в настройках магазина.\
> Пример: **billmgr\_url.example/mancgi/aaio\_result.php**

> Debug журнал метода оплаты находится по адресу **/usr/local/mgr5/var/pmaaio.log**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.aaio.so/gotovye-cms-moduli-i-sdk/billmanager-6.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
