How to install Calcurates Magento 2 extension | Calcurates for Magento

How to install Calcurates Magento 2 extension

Manual installation

  • Download the latest release
  • Unpack archive to app/code/Calcurates/ModuleMagento
  • Execute
  1. cd path_to_magento
    sudo -u magento_user php bin/magento setup:upgrade
    sudo -u magento_user php bin/magento cache:flush

Composer installation

  1. cd path_to_magento
    composer require calcurates/module-magento
    sudo -u magento_user php bin/magento setup:upgrade
    sudo -u magento_user php bin/magento cache:flush

Configuration instructions

  1. Login into Admin
  2. Go to "Stores -> Configuration -> Sales -> Shipping Methods"
  3. In "Calcurates [by Calcurates]":
    • "Calcurates API Token" - token obtained in Calcurates platform
    • "Magento API Token" - token should be generated and added into Calcurates platform
  4. Configure Magento API Integration token as shown in - Magento Integration Token Instructions

API Permissions

Calcurates API resource

  • Stores → Settings → All Stores → Calcurates_ModuleMagento::api and Magento_Backend::store
  • Stores → Inventory → Sources → Magento_InventoryApi::source
  • Stores → Inventory → Stocks → Magento_InventoryApi::stock
  • Stores → Inventory → Stocks → Source to Stock Assigning → Magento_InventoryApi::stock_source_link
  • Customer → Customer Groups → Magento_Customer::group

Magento endpoints that are used by Calcurates


GET /rest/V1/calcurates/inventory/sources
GET /rest/V1/inventory/stocks
GET /rest/V1/inventory/stock-source-links
GET /rest/V1/store/websites
GET /rest/V1/calcurates/categories-by-website/{id}
GET /rest/V1/store/storeViews
GET /rest/V1/calcurates/shipping-settings/{websiteId}
GET /rest/V1/calcurates/products/attributes
GET /rest/V1/customerGroups/search

Magento Versioning

Calcurates is compatible with PHP version 7.1 and higher.
Calcurates is compatible with Magento starting from 2.3.5 version up to the latest stable one.
    • Related Articles

    • How to configure Calcurates Magento 2 module

      After a successful installation of Calcurates module to your Magento, the configuration settings will appear in Magento config here: Stores > Configuration > Shipping Methods > Calcurates by Amasty. Note, updates regarding the availability of a new ...
    • How to update Calcurates Magento 2 extension

      Update via composer Execute: cd path_to_magento composer update calcurates/module-magento Execute: php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy Deploy with necessary language parameters - ...
    • Going live with Calcurates for Magento

      Ready to go Live with Calcurates for Magento? Go through this check-list: Make sure your Live Magento Website is connected to Calcurates Make sure your Live Magento Website is synced with Calcurates Make sure your Live Magento Website is using ...
    • How to install Calcurates WooCommerce plugin

      Installation via WordPress To install the Calcurates plugin for your WooCommerce, please, login to the admin panel. Next, go to the Plugins section from the sidebar menu and choose the Add New option. Use the search bar in the upper left corner of ...
    • How to update Calcurates WooCommerce plugin

      It is recommended to keep your Calcurates plugin for WooCommerce up to date. In this article you will find how to update your Calcurates plugin. First, log in to your WooCommerce admin panel. Now, you have the two options to choose from: Install each ...