# Zen Cart

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

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

2\. Скопируйте содержимое директории "unitpay" из архива в корень вашего сайта.

3\. Перейдите в "Modules"-> "Payment".

4\. Нажмите "Install Module".

5\. Выберите Unitpay и нажмите "Install Module".

6\. Введите в настройках модуля домен (DOMAIN) - unitpay.ru, публичный ключ (PUBLIC KEY) и секретный ключ (SECRET KEY ), их вы можете взять из личного кабинета unitpay.ru.

7\. При необходимости введите порядок сортировки (в каком порядке будут выводиться платежные системы на странице выбора платежных систем), статус заказа, на который будет сменяться статус при удачной оплате (по умолчанию это Paid\[Unitpay]) и статус заказа, на который будет меняться статус при ошибке оплаты (по умолчанию это Error\[Unitpay]).

8\. В личном кабинете Unitpay.ru введите адрес обработчика платежей  http\://<адрес вашего сайта>/unitpay.php

![](https://s3.amazonaws.com/helpscout.net/docs/assets/551a91dbe4b0221aadf24410/images/588722e1dd8c8e73b3e8f083/file-HdckvhNBxs.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/zen-cart.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.
