# Webasyst Shop Script 7 (8)

**The Module Setup and Installation Instruction**

1\. Download the [archive](https://github.com/unitpay/shopscript-module/releases/tag/v2.1.0) with the module (.zip).

2\. Copy the **unitpay** folder to **wa-plugins/payment** *(there is also wa-plugins/payment inside wa-sources - this is not the directory that you need, do not confuse it).*

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MINcBhrg7GBR1SliG2B%2F-MINcNamOEgRfXne5TRI%2Fimage4.png?alt=media\&token=f2a0b9f8-5931-4121-9332-a555738fff5d)

3\. Go to the store's control panel "**Settings → Payment → Add payment method → Unitpay**"

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MINcBhrg7GBR1SliG2B%2F-MINcRZK6ScZ9gWf3JUs%2F1321.png?alt=media\&token=fda44b90-6e25-4931-91b3-0c5adc202e86)

4\. The DOMAIN (unitpay.money), PUBLIC KEY, and SECRET KEY fields can be taken from your project page on unitpay. Make sure that the module is checked "**Enabled**".

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MINcBhrg7GBR1SliG2B%2F-MINcWqgyBvKhq-Pz5Uf%2Fimage5.png?alt=media\&token=3c6cf1b1-9367-4f29-8cf8-9e504ea423df)

<div align="left"><img src="https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MINcBhrg7GBR1SliG2B%2F-MINcYsWBJSiQYuIhQNh%2F12312.png?alt=media&#x26;token=fcc17ddd-4d6a-43ca-bf4f-51c44fb722b1" alt=""></div>

5\. On the project page in your unitpay dashboard, enter the payment processor using the template:[ \
http://адрес\_вашего\_сайта/payments.php/unitpay](http://xn--__-6kcbbakjfkd5c8cvaqht4h/payments.php/unitpay) and press enter.&#x20;

If you are not mistaken, the payment handler will say **OK!**

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MINcBhrg7GBR1SliG2B%2F-MINcbsg55vLLZl8SlNe%2F214124.png?alt=media\&token=b7e82c7d-7840-42f6-8e8f-7c4877c912f4)

6\. ADDITION: to be able to pay for goods in the store, you need to enable this step. "**Shop → Settings → checkout → enable the Payment step**".

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MINcBhrg7GBR1SliG2B%2F-MINcfp9HaETZsbPfvol%2F234234.png?alt=media\&token=fb8541c3-651f-4ccf-9629-bf6afc1eec3e)
