# Amiro CMS

### Инструкция по настройке и установке модуля.

{% hint style="success" %}
Настроить модуль можно простым способом, установив его напрямую из [маркетплейса Amiro.CMS.](https://www.amiro.ru/market/catalog/shop/priem-oplaty-cherez-unitpay)
{% endhint %}

1\. Скачайте  [архив](https://github.com/unitpay/amiro-module/archive/master.zip) с модулем.

{% hint style="info" %}
Особенность Amiro: после скачивания архива с модулем его необходимо переархивировать в формат tag.gz, иначе модуль не добавится в корень.
{% endhint %}

2\. Перейдите по ссылке  [**http://ваш\_сайт/\_admin/engine.php?mod\_id=ami\_market\&upload=1**](http://xn--_-7sbbf2b7bj7b/_admin/engine.php?mod_id=ami_market\&upload=1)

3\. Выберите в качестве файла дистрибутива архив в формате tag.gz с модулем и загрузите его.

![](/files/-MNxJDp6xLwGLhWiOMXe)

4\. Перейдите в "Сервис"-> "Настройка системы"-> "Способы оплаты".

5\. Найдите в списке драйверов Unitpay и нажмите "Установить".

6\. Нажмите кнопку "Редактировать" в строке Unitpay и заполните поля DOMAIN (unitpay.ru), PUBLIC KEY и SECRET KEY, которые вы можете взять в личном кабинете unitpay.money. Далее нажмите на кнопку сохранить.

![](/files/-MNxJLaYT5hmxd1NIl19)

7\. Переходим в Сервис->Настройка системы и в выпадающем списке выбираем "Каталог товаров"-> "Заказы".

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/551a91dbe4b0221aadf24410/images/589319b72c7d3a784630896a/file-gK9kaw5I6F.png)

8\. В строке "Доступные способы оплаты" нажимаем "Редактировать".

![](/files/-MNxJY_dFWzi9Q5sYhyC)

9\. Выбираем необходимые способы, включая Unitpay и в самом низу жмем кнопку "Применить изменения".

<div align="left"><img src="/files/-MNxJdRNxe3mETkZjnC5" alt=""></div>

10\. В личном кабинете Unitpay.ru введите адрес обработчика платежей http\://<адрес вашего сайта>/drivers/gate\_unitpay.php. Из-за особенностей модуля будет гореть красным "Ошибка формата", это нормально.

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/551a91dbe4b0221aadf24410/images/58931dfd2c7d3a7846308987/file-yzfMRJS7QE.png)


---

# 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://help.unitpay.ru/modules/cms-modules/amiro-cms.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.
