tryoto / mage2-ordersync
Order Synchronization extension for Magento 2x
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
Requires (Dev)
- friendsofphp/php-cs-fixer: @stable
- lusitanian/oauth: @stable
- pdepend/pdepend: @stable
- phpmd/phpmd: @stable
- phpunit/phpunit: @stable
- sebastian/phpcpd: @stable
- squizlabs/php_codesniffer: @stable
README
OTO Order Integration for Magento2
For Magento / Adobe Commerce 2.3.x and 2.4.x
OTO OrderSync Extension
This extension is connects your Magento2 web store and sends new orders to OTO api system. You can trigger order synchronization with command line manually or with cron. It also cancels canceled orders on OTO side.
What is OTO
MENA's #1 shipping gateway for e-commerce stores and retailers to ship, manage, track, analyze and return orders with 200+ carriers from a single dashboard.
Features
- Connects and authorizes your Magento2 store to OTO System.
- Synchronizes your new orders to OTO.
- Cancels orders in OTO if canceled in Magento.
- You can send individual order data to OTO with command line
How to Install OTO OrderSync Extension
Using Composer (recommended)
composer require tryoto/mage2-ordersync; php bin/magento maintenance:enable; php bin/magento module:enable Oto_OrderSync; php bin/magento setup:upgrade; php bin/magento setup:di:compile; php bin/magento setup:static:deploy -f; php bin/magento maintenance:disable; php bin/magento cache:flush;
Using git clone
cd your_website_path; git clone https://github.com/apps-tryoto/magento2-ordersync app/code/Oto/OrderSync; php bin/magento maintenance:enable; php bin/magento module:enable Oto_OrderSync; php bin/magento setup:upgrade; php bin/magento setup:di:compile; php bin/magento setup:static:deploy -f; php bin/magento maintenance:disable; php bin/magento cache:flush;
Using manual download and FTP Upload
Go to https://github.com/oto/mage2-ordersync/releases and download latest version. Open zipfile and upload OrderSync directory as app/code/Oto/OrderSync
cd your_website_path; php bin/magento maintenance:enable; php bin/magento module:enable Oto_OrderSync; php bin/magento setup:upgrade; php bin/magento setup:di:compile; php bin/magento setup:static:deploy -f; php bin/magento maintenance:disable; php bin/magento cache:flush;
After module setup
Add this cron command to cron to sync your orders with oto in period which you want;
*/2 * * * * cd your_website_path; php bin/magento oto:new_order_sync >> var/log/oto_ordersync_new_orders.log
Uninstalling
composer remove tryoto/mage2-ordersync; php bin/magento maintenance:enable; php bin/magento module:disable Oto_OrderSync; php bin/magento setup:upgrade; php bin/magento setup:di:compile; php bin/magento setup:static:deploy -f; php bin/magento maintenance:disable; php bin/magento cache:flush;
Do not forget to remove cron entry from crontab.
© All rights reserved OTO Global Inc. © 2024 | www.tryoto.com