> For the complete documentation index, see [llms.txt](https://help.unitpay.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.unitpay.ru/en/modules/cms-modules/modx-minishop2.md).

# MODX (miniShop2)

**Instructions for configuring and installing the module.**

1\. Download the [archive with the module](https://github.com/unitpay/modx/archive/main.zip).

2\. Copy the contents of the unitpay directory from the archive to the root of your site.

3\. Run your script YOUR\_DOMAIN/unitpay\_setup.php

4\. Go to Packages - > Minishop 2 - > Settings -> payment Methods. Make sure that the UnitPay module is present in the list and enabled. if not, add

![](/files/-MOXPE6Yfp4X-SfeqZiv)

5\. Go to "System Settings & Events" in the MODX Control Panel.&#x20;

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

Filter by the type of settings - "minisho2" and the type of "Payments". Install UnitPay Domain, UnitPay Public Key, UnitPay Secret Key (you can get them in the project settings in the Unitpay personal account)

![](/files/-MOXQRqfpDJDofMNxKLl)

The VAT settings (none, vat0, vat10, vat20) and currency are also set here.

6\. Delivery is set in packages -> minishop2 -> settings delivery options

![](/files/-MOXRDmQf77wLWZgWcAq)

7\. In your Unitpay dashboard, enter the address of the payment processor http\://\<your website>//assets/components/minishop2/payment/unitpay.php

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