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
5. Go to "System Settings & Events" in the MODX Control Panel.
Filter by the type of settings - "minisho2" and the type of "Payments". Install UnitPay Domain (unitpay.money), UnitPay Public Key, UnitPay Secret Key (you can get them in the project settings in the Unitpay personal account)
The VAT settings (none, vat0, vat10, vat20) and currency are also set here.
6. Delivery is set in packages -> minishop2 -> settings delivery options
7. In your Unitpay dashboard, enter the address of the payment processor http://<your website>//assets/components/minishop2/payment/unitpay.php