# Prestashop

**The Module Setup and Installation Instruction**

{% hint style="success" %}
The module is supported in Prestashop versions 1.6 and 1.7
{% endhint %}

1. Download the [archive](https://github.com/unitpay/prestashop-module/archive/master.zip) with the module (.zip). Rename the "prestashop-module-master" folder to " unitpay"
2. Open the site control panel.
3. Click the Modules button in the left menu of the control panel, then the Add module button in the upper right corner. Select the downloaded module file and click Download this module.

![versions 1.6](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y4H5GeMt77_RevqMP%2F0.png?generation=1592326955778217\&alt=media)

![versions 1.7](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MNi-QkJ71O8NTtEQz-D%2F-MNi48LHKWVk4xk9yqNA%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-20201126-091449.png?alt=media\&token=c9bb3e88-8379-49bd-ad78-e43ad31b45c2)

4\. After successful loading, type the word "unitpay" in the quick search bar and you will find the installed module.

![versions 1.6](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y4H5HSTWGrgwQSBrX%2F1.png?generation=1592326955749100\&alt=media)

![versions 1.7](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MNi-QkJ71O8NTtEQz-D%2F-MNi4DMqybq7cpq-PUpu%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-20201126-103214.png?alt=media\&token=e3141fab-7b70-46da-aa84-9611fdd15365)

5\. Click on the green Install button located to the right of the module.

6\. When installation is completed successfully, you will get to the module settings page. Here you need to enter the domain (unitpay.ru), secret key and public key, which you should take on the project page in your unitpay account. After entering them, click the Save button.

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y4H5IbMxMiHf5FqCk%2F2.png?generation=1592326955758176\&alt=media)

7\. For correct operation of the module, you need to enable CNC. To do this, go to Settings-> SEO-> URLs and enable CNC.

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y4H5JAessx0cmnN7U%2F3.png?generation=1592326955760098\&alt=media)

8\. We also recommend adding rounding of the cost of goods. Go to Settings - > General settings and set the option " rounding Type = Rounding each item"

9\. Go to the project page in your Unitpay account and enter the payment handler using the template <http://your_site_address/module/unitpay/callback>

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y4H5KuN-63JAtvwbO%2F4.png?generation=1592326955753129\&alt=media)


---

# 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/en/modules/cms-modules/prestashop.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.
