HostCMS
Last updated
Last updated
Download the module
Go to the admin panel of your site
Go to Content ->Online stores, select your store and then go to directories ->payment systems.
4. Add a new payment system, write Unitpay in the name and for example, Unitpay payment system in the description and click Apply.
5. Click the Edit button next to the Unitpay payment system, then go to the Additional tab and remember the number in the ID field
6. Next, go to the Main tab and copy the contents of the module file handlerXX.php in the Handler field
7. In the name of Shop_Payment_System_HandlerXX class, enter the ID you have previously remembered instead of XX.
8. In the handler, enter the values of the variables $domain = 'unitpay.ru', $public_key and $secret_key which you can get in your unitpay.money personal account
9. If necessary, assign the code of the currency (which is available in the store) in which you want to receive payments to the value of $currency_name variable. It is RUB by default.
10. In your Unitpay.ru account, enter the address of the payment handler http://<your site address>/shop/cart/
11. In order to set the VAT you need to go to Content -> online shops, select your shop and then find the item, click edit
in the edit, there will be a tax and currency.
12. to change the currency in the entire store, go to content - > online stores and click edit.