Unitpay
en
en
  • Home
  • First steps
    • Registration
    • Adding a Project
      • Adding a VK Community Project
    • Project Moderation
    • Transfer of the Project
    • Video tutorials
  • Payments
    • Creating a payment (easy way)
    • Creating a Payment
    • Creating a payment (widget)
    • Parameters for receipts
    • Creating Payment Links in Your Personal Account
    • Payment Handler
    • Payment information
    • Payment Refund
    • Payments with Pre-authorization
    • Recurring payments
      • Creating a Subscription
      • Getting Information About Subscription
      • Getting a List of Active Subscriptions
      • Closing a Subscription
  • Mass payouts
    • Creating a payout
    • Information about Payout
    • Card information by BIN
    • Payments based on a CSV registry
  • Online cash desk
    • Parameters for generating a receipt
    • Unit.Reciepts
    • Adding online cash desk
    • Types of Online Cash Register Receipt Items
    • Advance credit reciepts
  • Modules
    • Payment handler
    • Unitpay SDK
    • CMS modules
      • Amiro
      • PHPShop
      • 1C Bitrix
      • CS-Cart
      • DIAFAN.CMS
      • Drupal 7 (commerce)
      • Drupal 7 (ubercart 3)
      • Drupal 8, 9 (commerce)
      • Ecwid by Lightspeed
      • HostCMS
      • InSales
      • Joomshopping 4 (joomla 3)
      • LogicBoxes
      • Magento
      • Magento 2
      • OpenCart
      • osCommerce
      • Prestashop
      • ReadyScript
      • ShopCMS
      • Simpla
      • Tilda
      • Netcat CMS
      • UMI.CMS
      • VamShop 2
      • VirtueMart 3 (joomla 3)
      • Webasyst Shop Script 7 (8)
      • Wix
      • Woocommerce Wordpress
      • Zen Cart
      • Amiro CMS
      • CMS NWICODE
      • MODX (miniShop2)
  • Manage Unitpay
    • Interface Instructions
    • SP documents
    • Legal entity documents
    • Current Balance
    • Commissions
    • Currency Conversion Rates
  • Book of reference
    • System IP addresses
    • Payment Form Appearance
    • Using the Test API
    • Operator Codes
    • Payment System Codes
    • Currency codes
    • Qiwi Country Codes
  • Referral program
    • Interface of Referrer's (Agent's) Account
  • Support
  • Other
    • Telegram bot
    • Using the Test API
  • Google Payâ„¢
Powered by GitBook
On this page

Was this helpful?

  1. Modules
  2. CMS modules

HostCMS

PreviousEcwid by LightspeedNextInSales

Last updated 4 years ago

Was this helpful?

  1. Download the

  2. Go to the admin panel of your site

  3. 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.

module