# Webasyst Shop Script 7 (8)

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

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

2\. Копируем папку unitpay в wa-plugins/payment *(ещё wa-plugins/payment есть внутри wa-sources - это не та директория что нужна, не перепутайте).*

![](/files/-MINcNamOEgRfXne5TRI)

3\. Переходим в панель управления магазином "**Настройки → Оплата → Добавить способ оплаты → Unitpay**"

![](/files/-MINcRZK6ScZ9gWf3JUs)

4\. Поля DOMAIN (unitpay.ru), PUBLIC KEY и SECRET KEY можно взять со страницы вашего проекта на unitpay. Проверьте, чтобы у модуля стояла галочка "**Включен**".

![](/files/-MINcWqgyBvKhq-Pz5Uf)

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

5\. На странице проекта в личном кабинете unitpay пропишите обработчик платежей по шаблону:[ http://адрес\_вашего\_сайта/payments.php/unitpay](http://xn--__-6kcbbakjfkd5c8cvaqht4h/payments.php/unitpay) и нажмите enter.&#x20;

Если не ошиблись, то в обработчике платеже будет написано **ОК!**

![](/files/-MINcbsg55vLLZl8SlNe)

6\. ДОПОЛНЕНИЕ: чтобы в магазине можно было оплачивать товар нужно включить этот шаг. "**Магазин → Настройки → Оформление заказа → включите шаг Оплаты**".

![](/files/-MINcfp9HaETZsbPfvol)

{% hint style="info" %}
В модуле поддерживаются промокоды, мультивалютность, НДС и разные [types](https://help.unitpay.ru/online-cash-register/receipt_parameters).
{% endhint %}


---

# 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/webasyst-shop-script-7.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.
