Drupal 8, 9 (commerce)

Instructions for configuring and installing the module.

The module supports working with version 8 and 9 of Drupal (commerce)

1. Download the archive with the module.

2. install the module. to do this, go to extend - > install new module. Select the archive with the module and then "Save".

3. Go To commerce - > Configuration -> Payment gateway. PAYMENT GATEWAY: "Unitpay" click "edit".In the DOMAIN field, INSERT the value unitpay.ru, in thePUBLIC KEY and SECRET KEY , copy the public and secret key from the unitpay personal account.

4. Enable the module and save it.

5. in your unitpay dashboard, add the address of the handler in the format http://<name of your site>/commerce-unitpay/callback

6. VAT is set inside the module settings Commerce -> Configuration -> Payment gateway

7. the currency is set in two places. Commerce -> Configuration -> Currencies

8. and then, to be able to change in products, you need to add to "Product types". Commerce -> Configuration -> Product types -> Edit Default -> Manage fields

9. Similarly, you need to do for "variation types". Commerce -> Configuration -> Product variation types -> Edit Default -> Manage fields

Last updated