# ReadyScript

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

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

2\. Распакуйте содержимое архива в корень сайта.

3\. Перейдите в админпанель сайта.

4\. Перейдите в меню "Веб-сайт"-> "Настройка модулей".

5\. Нажмите на кнопку "Очистить кэш".

6\. Установите модуль "Unitpay" для этого нажмите на кнопку "Не установлен" напротив модуля.

7\. Перейдите в "Магазин"-> "Способы оплаты".

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

![](/files/-MPJReRifRRAM4wlj3lX)

9\. В личном кабинете unitpay.ru введите адрес обработчика платежей  \
http\://<адрес вашего сайта>[/onlinepay/unitpay/result/](http://ttestt.ru/onlinepay/unitpay/result/)

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/551a91dbe4b0221aadf24410/images/58dced772c7d3a52b42f0f2a/file-3ICMy8RBWB.png)

p.s. В обработчике платежей высветится сообщение "Ошибка формата", не обращайте на это внимания.

10\. НДС задается на странице "Магазин" -> "Налоги". Задайте соответствующий вашему налогу идентификатор: vat0, vat10, vat20&#x20;

![](/files/-MPJSdEIbKDlV_iEFYMb)


---

# 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/readyscript.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.
