Important Note!
We do not recommend performing any installations or upgrades Fridays or before the holidays. Our support team is only available during the regular business hours. Off business hours assistance has to be scheduled with the support team in advance.
See Magento 2 Connector for the list of the latest versions.
Latest Versions
Module | Version |
---|---|
tnw/soap-client | 1.1.3 |
tnw/salesforce | 2.9.63 |
tnw/sforceenterprise | 2.9.66 |
tnw/sforcecustomergroup | 2.9.5 |
tnw/sforcetierprice | 2.9.8 |
Installation/Upgrade Instructions
Its highly recommended installing Magento extensions via composer. Follow the steps below:
STEP 1 - Register new composer repository
Register PowerSync repository
NOTE: These steps are only necessary when installing our software for the first time
composer config repositories.powersync composer https://dist.powersync.biz composer config repositories.powersync '{"type": "composer", "url": "https://dist.powersync.biz", "canonical": false}'
STEP 2 - Enable maintenance mode
STEP 3 - Install composer package(s)
Follow Magento 2: Magento Extension Upgrade to 2.6 instructions only if you are using TNW_Salesforce 2.5.
The following composer command should be used for Magento 2.3 or above
composer require tnw/soap-client=1.1.3 tnw/salesforce=2.9.63 tnw/sforcecustomergroup=2.9.5 tnw/sforcetierprice=2.9.8 tnw/sforceenterprise=2.9.66
If you have previous module version already - use the upgrade commands instead:
composer require tnw/soap-client=1.1.3 tnw/salesforce=2.9.63 tnw/sforcecustomergroup=2.9.5 tnw/sforcetierprice=2.9.8 tnw/sforceenterprise=2.9.66 --no-update
composer upgrade tnw/soap-client tnw/salesforce tnw/sforcecustomergroup tnw/sforcetierprice tnw/sforceenterprise tnw/sforcetierprice tnw/sforcecustomergroup
STEP 4
The follwing commands are usually executed for each Magento deployment.
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento indexer:reindex
Re-deploy static content
rm -rf pub/static/frontend/ pub/static/deployed_version.txt pub/static/adminhtml/ bin/magento setup:static-content:deploy -f
Clear / Clean Magento cache
bin/magento cache:clean
Last but not least, disable the Magento maintenance mode
bin/magento maintenance:disable
If you run into any issues, try executing the following command and try again
rm -rf var/generation/* generated/*
Re-save TNW Salesforce configuration page after the upgrade
Uninstall
bin/magento module:uninstall TNW_Salesforce
php bin/magento module:uninstall TNW_SForceBusiness
bin/magento module:uninstall TNW_SForceEnterprise
Related articles
https://packagist.org/packages/tnw/soap-client