- Magento >= 2.3
- PHP >= 7.1
- Download latest release
- Unpack archive to
app/code/Calcurates/ModuleMagento
- Execute
cd path_to_magento
sudo -u magento_user php bin/magento setup:upgrade
sudo -u magento_user php bin/magento cache:flush
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
cd path_to_magento
sudo -u magento_user php bin/magento config:set oauth/consumer/enable_integration_as_bearer 1
sudo -u magento_user php bin/magento cache:flush
Magento provides options to the setup:install
and setup:upgrade
commands that enable safe installations and rollbacks:
--safe-mode=1
- Creates a data dump during the installation or upgrade process--data-restore=1
- (Used with thesetup:upgrade
command only) Performs a rollback. Before you rollback, you must first check out code to the previous version of Magento. Then runsetup:upgrade --data-restore=1
- Login into Admin
- Go to "Stores -> Configuration -> Sales -> Shipping Methods"
- In "Calcurates [by Calcurates]":
- "Calcurates API Token" - token obtained in Calcurates platform
- "Magento API Token" - token should be generated and added into Calcurates platform
- Configure Magento API Integration token as shown in - Magento Integration Token Instructions
- Calcurates API resource
- Stores → Settings → All Stores (the codes are
Calcurates_ModuleMagento::api
andMagento_Backend::store
)