# PHPShop

**The Module Setup and Installation Instruction**

1. Download the [archive](https://github.com/unitpay/phpshop-module/archive/master.zip) with the module.
2. Unpack the contents of the archive to the root of the site.
3. Add the following lines in phpshop/inc/config.php file:

```
[unitpay]

domain = "unitpay.ru";

public_key = "<Ваш публичный ключ из личного кабинета unitpay.ru>";

secret_key = "<Ваш секретный ключ из личного кабинета unitpay.ru>";
```

4\. In the admin panel, go to Orders -> Payment Methods and add Unitpay payment method. Check that the "Show" checkbox is checked.

5\. In your unitpay.money account, enter the address of the payment handler http\://\<your site address>/payment/unitpay/result.php

![](/files/-M9y2jxfzUkZVJDZikXI)

6\. VAT and currency are set in "Settings" - > "Main Settings". If you need to select "WITHOUT VAT", then uncheck "Include VAT in invoice".

![](/files/-MOqPVqCkszcQnQRPEyc)


---

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