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

Magento 2

PreviousMagentoNextOpenCart

Last updated 2 years ago

Was this helpful?

Instructions for configuring and installing the module.

1.Download the and upload it to the site root.

2. In the shell from the site root to run the command php bin/magento setup:upgrade to install module

3. php bin/magento setup:di:compile for compiling configuration files

4. Go to the admin panel. Stores -> Configuration

5. In the left menu, select Sales -> Payment Methods

6. Find the unitpay module and set the settings Domain (unitpay.ru), Public Key, Secret Key (you can take it in the project settings in your personal account Unitpay)

7. VAT can be set for each product. Catalogs -> Products, click on the product, choose it Tax Class

Tax Class is configured in Stores -> Tax Rules

Coverage area in Stores -> Tax Zones and Rates

8. By default, delivery is valid for each product (3 products = triple the cost of delivery). To configure this, go to Stores -> Configuration.Then in the sales drop down list Sales we look for Shipping methods

9. Enter in your personal account Unitpay.ru in the project settings the payment handler. according to the template: http://<your_site_name>/unitpay/payment/callback

10. Promotional codes are also available. To set them up, go to the Marketing - Promotion - Cart Price Rules - Add new rule.

1) Rule name - it's not the name of the promocode; 2) Websites - using zone (can be set for certain sections of the site); 3) Customer groups - user groups for which this promo code is opened; 4) Coupon - choose Specific coupon; 5) Uses per Customer - the maximum number of promocode's uses for one authorized customer; 6) Uses per Coupon - the total maximum number of this promocode's uses;

Then open the Actions tab and set the actions for the promocode:

Promocodes' options:

  1. Discount for the whole cart in %

    Apply - Percent of product price discount, Discount Amount - discount amount,%

  2. Discount for the whole cart for a certain amount

    Apply - Fixed amount discount for whole cart, Discount Amount - discount amount

  3. Discount for each item from the cart for a certain amount

    Apply - Fixed amount discount, Discount Amount - discount amount

    Note: the discount on the item must be less than the cost of the product from the catalog, otherwise the promocode will work with an error - you cannot provide products with a zero amount.

  4. Also, for each promo code, you can specify free shipping

    Free shipping - Select - For matching items only

module archive