> 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/diafan.cms.md).

# DIAFAN.CMS

**The Module Setup and Installation Instruction**

{% hint style="info" %}
The module can be installed directly by selecting it in the "Addons" in the CMS admin panel.

It can also be downloaded directly from the [DIAFAN.CMS marketplace.](https://addons.diafan.ru/modules/platezhi/priem-oplaty-cherez-unitpay647/)
{% endhint %}

1. Download the [archive](https://github.com/unitpay/diafan-module/archive/master.zip) with the module.
2. Copy the contents of the Unitpay directory from the archive to the root of your site.
3. Go to Payment -> Payment Methods and add a new payment method. When choosing a payment system, specify Unitpay.
4. Enter DOMAIN (unitpay.money), PUBLIC KEY, and SECRET KEY which you can get in your Unitpay.money account.
5. In your Unitpay.ru account, enter the address of the payment handler [http://](http://diafan.app/payment/get/unitpay)\<your site address>/payment/get/unitpay

<div align="left"><img src="https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y3F7tA9ab48S0jteg%2F0.png?generation=1592326685578317&amp;alt=media" alt=""></div>

{% hint style="info" %}
VAT is set inside the module settings in the "VAT" field: none (without VAT), vat0 (0% VAT), vat10 (10% VAT), vat20 (20% VAT%)
{% endhint %}

<div align="left"><img src="https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MNOm90d2WBLZayeE3pm%2F-MNOpfnI0mFy_H4ulHSC%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-20201127-080939.png?alt=media&amp;token=360bf2a4-04c1-4b65-9065-75ab645be65b" alt=""></div>
