Lovat API Magento 2 documentation

There are two ways to install this plugin.

 

Option 1

    1. Follow the link https://github.com/LOVAT-compliance/vatcompliance-magento2-api
    2. Download the archive file.
    3. Upload files to the app/code folder.
    4. Enter the following commands into the command-line:
php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento cache:clean

Option 2 (Install a plugin via Composer):

 

    1. Install Composer if it’s necessary.
    2. Write this command composer require lovat/module-lovat
    3. Run the following commands into the command-line:
php bin/magento setup:upgrade

php bin/magento setup:di:compile
php bin/magento cache:clean

You have installed and configured the plugin successfully in Magento2.

After successful installation of the plugin you need to complete the following steps:

    1. On the Admin panel, click System. In the Extensions section, select Integrations.
    2. In the upper-right corner, click the Add New Integration button and complete all information.
Basic settings page - General info

*Please don’t fill these fields  Callback URL and Identity link URL

3.On the Admin panel choose API section.

4.Choose “Lovat Api” and mark the checkbox of this resource.

New integration page - adding Lovat Api

5.When complete, click Save

After successful adding of the integration you need to activate it.  Do the following:

an example of activating the integration

6.Click the button Activate and this window will appear. Then click the Allow

approving access to the integration

7.When this window appears, click the button Done.

Integration Tokens for Extensions page - rows

*You can find these keys if you click the button Edit.

integration Details page - rows

All done! Provide your developer with these keys to access APIs.

Close Bitnami banner
Bitnami